is_group#

caput.memdata.is_group(obj)[source]#

Check if the object is a Group, which includes File objects.

In most cases, if it isn’t a Group it’s a Dataset, so this can be used to check for Datasets as well.

Parameters:
objAny

Object to check.

Returns:
is_a_groupbool

True if the object is a Group.