code: def test_is_regular_expander(n):
      pytest.importorskip("numpy")
      pytest.importorskip("scipy")
      G = nx.complete_graph(n)
  
      assert (
          nx.is_regular_expander(G) == True
      ), "Should be a regular expander"
  
file_path: networkx/networkx/generators/tests/test_expanders.py
imports: import pytest
  import networkx
label_desc: Use image node_id 6 for calling a global function with example usage: test_is_regular_expander(n) without return types