code: def test_wikipedia_is_dominating_set():
      """Example from https://en.wikipedia.org/wiki/Dominating_set"""
      G = nx.cycle_graph(4)
      G.add_edges_from([(0, 4), (1, 4), (2, 5)])
      assert nx.is_dominating_set(G, {4, 3, 5})
      assert nx.is_dominating_set(G, {0, 2})
      assert nx.is_dominating_set(G, {1, 2})
  
imports: import pytest
  import networkx
label_desc: Use image node_id 5 for calling a global function with example usage: test_wikipedia_is_dominating_set() without return types