def is_sequence(arg):
    """
    Checks if an object is iterable (you can loop over it) and not a string
    ** Taken from SHARKToolbox
    :param arg:
    :return:
    """
    return not hasattr(arg, 'strip') and hasattr(arg, '__iter__')
