def isiterable(obj):
    return hasattr(obj, '__iter__') and not isinstance(obj, basestring)
Returns ``True`` if the specified object is iterable and
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/isiterable