def root(self):
        """rootOf

        :rtype: `unicode`
        """
        return DagNode( '|' + self.longName()[1:].split('|')[0] )

#    def hasParent(self, parent ):
#        try:
#            return self.__apimfn__().hasParent( parent.__apiobject__() )
#        except AttributeError:
#            obj = _api.toMObject(parent)
#            if obj:
#               return self.__apimfn__().hasParent( obj )
#
#    def hasChild(self, child ):
#        try:
#            return self.__apimfn__().hasChild( child.__apiobject__() )
#        except AttributeError:
#            obj = _api.toMObject(child)
#            if obj:
#               return self.__apimfn__().hasChild( obj )
#
#    def isParentOf( self, parent ):
#        try:
#            return self.__apimfn__().isParentOf( parent.__apiobject__() )
#        except AttributeError:
#            obj = _api.toMObject(parent)
#            if obj:
#               return self.__apimfn__().isParentOf( obj )
#
#    def isChildOf( self, child ):
#        try:
#            return self.__apimfn__().isChildOf( child.__apiobject__() )
#        except AttributeError:
#            obj = _api.toMObject(child)
#            if obj:
#               return self.__apimfn__().isChildOf( obj )
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DagNode.root/original