<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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]