code: def test_is_bipartite(self):
      assert bipartite.is_bipartite(nx.path_graph(4))
      assert bipartite.is_bipartite(nx.DiGraph([(1, 0)]))
      assert not bipartite.is_bipartite(nx.complete_graph(3))
  
file_path: networkx/networkx/algorithms/bipartite/tests/test_basic.py
imports: import pytest
  import networkx
  from networkx.algorithms import bipartite
label_desc: Use image node_id 1 for calling the TestBipartiteBasic obj's underlying member method code with example usage: obj.test_is_bipartite() without return types