isiterable

astropy.utils.misc.isiterable(obj)[source]

Returns True if the given object is iterable.