def is_iterable(x):
    "A implementation independent way of checking for iterables"
    try:
        iter(x)
    except __HOLE__:
        return False
    else:
        return True
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/utils/itercompat.py/is_iterable