def is_sequence(obj):
    'Helper method to see if the object is a sequence (list, set, or tuple).\n\n    >>> is_sequence([4])\n    True\n\n    '
    return (type(obj) in SEQUENCES_SET)
Helper method to see if the object is a sequence (list, set, or tuple).

>>> is_sequence([4])
True
def is_sequence(obj):
    'Helper method to see if the object is a sequence (list, set, or tuple).\n\n    >>> is_sequence([4])\n    True\n\n    '
    return (type(obj) in SEQUENCES_SET)