docs: def _get_clique(self, junction_tree, nodes):
          """
          Extracting the cliques from the junction tree which are a subset of
          the given nodes.
  
          Parameters:
          ----------
          junction_tree: Junction tree
              from which the nodes are to be extracted.
  
          nodes: iterable container
              A container of nodes (list, dict, set, etc.).
          """
  
          return [clique for clique in junction_tree.nodes() if set(nodes).issubset(clique)][0]