def is_set(obj):
    'Helper method to see if the object is a Python set.\n\n    >>> is_set(set())\n    True\n    '
    return (type(obj) is set)
Helper method to see if the object is a Python set.

>>> is_set(set())
True
def is_set(obj):
    'Helper method to see if the object is a Python set.\n\n    >>> is_set(set())\n    True\n    '
    return (type(obj) is set)