code: def test_isolated_K5():
      G = nx.Graph()
      G.add_edges_from(combinations(range(5), 2))  # Add a five clique
      G.add_edges_from(
          combinations(range(5, 10), 2)
      )  # Add another five clique
      c = set(nx.community.k_clique_communities(G, 5))
      assert c == {frozenset(range(5)), frozenset(range(5, 10))}
  
file_path: networkx/networkx/algorithms/community/tests/test_kclique.py
imports: from itertools import combinations
  import pytest
  import networkx
label_desc: Use image node_id 2 for calling a global function with example usage: test_isolated_K5() without return types