code: def test_florentine_family():
      G = nx.florentine_families_graph()
      indep = nx.maximal_independent_set(G, ["Medici", "Bischeri"])
      assert set(indep) == {
          "Medici",
          "Bischeri",
          "Castellani",
          "Pazzi",
          "Ginori",
          "Lamberteschi",
      }
  
file_path: networkx/networkx/algorithms/tests/test_mis.py
imports: import random
  import pytest
  import networkx
label_desc: Use image node_id 4 for calling a global function with example usage: test_florentine_family() without return types