def isIterable(thing):
    try: iter(thing)
    except TypeError: return False
    return True
Returns true if 'thing' looks iterable.
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/scanf.py/isIterable