def is_dictionary(obj):
    "Helper method for testing if the object is a dictionary.\n\n    >>> is_dictionary({'key':'value'})\n    True\n\n    "
    return (type(obj) is dict)
Helper method for testing if the object is a dictionary.

>>> is_dictionary({'key':'value'})
True
def is_dictionary(obj):
    "Helper method for testing if the object is a dictionary.\n\n    >>> is_dictionary({'key':'value'})\n    True\n\n    "
    return (type(obj) is dict)