code: def _find_relevant_nodes(query_nodes, relevance_network, relevance_node_lim):
      
      all_nodes = relevance_client.get_relevant_nodes(relevance_network,
                                                      query_nodes)
      nodes = [n[0] for n in all_nodes[:relevance_node_lim]]
      return nodes
docs: Return a list of nodes that are relevant for the query.
  
      Parameters
      ----------
      query_nodes : list[str]
          A list of node names to query for.
      relevance_network : str
          The UUID of the NDEx network to query relevance in.
      relevance_node_lim : int
          The number of top relevant nodes to return.
  
      Returns
      -------
      nodes : list[str]
          A list of node names that are relevant for the query.