def isiterable(obj):
    """
    Return whether an object is iterable
    """
    # see https://docs.python.org/3/library/collections.abc.html#collections.abc.Iterable
    try:
        iter(obj)
        return True
    except:
        return False