def guard_iter(val):
    try:
        iter(val)
    except __HOLE__:
        raise LookupyError('Value not an iterable')
    else:
        return val
dataset/ETHPy150Open naiquevin/lookupy/lookupy/lookupy.py/guard_iter