isiterable

astropy.utils.misc.isiterable(obj)[source] [edit on github]

Returns True if the given object is iterable.