code: def test_K5(graph):
      """Maximal independent set for complete graphs"""
      assert all(
          nx.maximal_independent_set(graph, [n]) == [n] for n in graph
      )
  
file_path: networkx/networkx/algorithms/tests/test_mis.py
imports: import random
  import pytest
  import networkx
label_desc: Use image node_id 2 for calling a global function with example usage: test_K5(graph) without return types