def isInstanceOf(self, other):
        """
        :rtype: `bool`
        """
        if isinstance( other, general.PyNode ):
            return self.__apimobject__() is other.__apimobject__()
        else:
            try:
                return self.__apimobject__() == general.PyNode(other).__apimobject__()
            except:
                return False
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DagNode.isInstanceOf/operator `==` -> `is`