<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_dict_like(obj):
 """ 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 -------- True False False True """

    dict_like_attrs = ("__getitem__", "keys", "__contains__")
    return (all(hasattr(obj, attr) for attr in dict_like_attrs)
            # [GH 25196] exclude classes
            and not isinstance(obj, type))