code: def get_scenenode(self, nodes):
          
          scenenodes = cmds.ls(nodes, type='jb_sceneNode')
          assert scenenodes, "Found no scene nodes!"
          return sorted(scenenodes)[0]
docs: Get the scenenode in the given nodes
  
          There should only be one scenenode in nodes!
  
          :param nodes:
          :type nodes:
          :returns: None
          :rtype: None
          :raises: AssertionError