def is_dict_like(obj):
dict_like_attrs = ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>return (all(hasattr(obj, attr) for attr in dict_like_attrs)<EOL>and not isinstance(obj, type))<EOL>
Check if the object is dict-like.

Parameters
----------
obj : The object to check

Returns
-------
is_dict_like : bool
    Whether `obj` has dict-like properties.

Examples
--------
>>> is_dict_like({1: 2})
True
>>> is_dict_like([1, 2, 3])
False
>>> is_dict_like(dict)
False
>>> is_dict_like(dict())
True