convnwb.utils.checks.is_empty

convnwb.utils.checks.is_empty(var)[source]

Check if a variable is empty, across possible types.

Parameters:
var

Variable to test for whether it’s empty.

Returns:
emptybool

Indicates whether the given variable is empty.