code: def get_parent(self, refobj):
          
          c = cmds.listConnections("%s.parent" % refobj, source=False)
          return c[0] if c else None
docs: Return the parent of the given :class:`JB_ReftrackNode`.
  
          :param refobj: a reftrack node to query
          :type refobj: str
          :returns: the parent reftrack node
          :rtype: refobj | None
          :raises: None