def _get_obj_type(obj):
    objtype = type(obj)
    if type(obj) is not InstanceType:
        objtype = obj.__class__
    return objtype
dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/objgraph.py/_get_obj_type/operator `==` -> `is not`