def is_list(obj):
    'Helper method to see if the object is a Python list.\n\n    >>> is_list([4])\n    True\n    '
    return (type(obj) is list)
Helper method to see if the object is a Python list.

>>> is_list([4])
True
def is_list(obj):
    'Helper method to see if the object is a Python list.\n\n    >>> is_list([4])\n    True\n    '
    return (type(obj) is list)