is_iterable

jwst.associations.lib.utilities.is_iterable(obj)[source]

General iterator check.

Parameters:
objobj

The object to be checked for defined __iter__ method.

Returns:
bool

True if iterable, False otherwise.