code: def test_tree(self):
      G = nx.DiGraph()
      G.add_edges_from(
          chain.from_iterable(
              [(i, 2 * i + 1), (i, 2 * i + 2)] for i in range(100)
          )
      )
      assert not nx.is_semiconnected(G)
  
file_path: networkx/networkx/algorithms/components/tests/test_semiconnected.py
imports: from itertools import chain
  import pytest
  import networkx
label_desc: Use image node_id 6 for calling the TestIsSemiconnected obj's underlying member method code with example usage: obj.test_tree() without return types