code: def is_strongly_connected(G):
      G = _to_directed_graph(G)
      if len(G) == 0:
          raise nx.NetworkXPointlessConcept(
              "Connectivity is undefined for the null graph."
          )
      if G.src_indices.size == 0:
          return len(G) == 1
      labels = _strongly_connected_components(G)
      return bool((labels == labels[0]).all())
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/algorithms/components/strongly_connected.py
imports: import cupy
  import networkx
  import pylibcugraph
  from nx_cugraph.convert import _to_directed_graph
  from nx_cugraph.utils import _groupby, index_dtype, networkx_algorithm, not_implemented_for
label_desc: Use image node_id 4 for calling a global function with example usage: is_strongly_connected(G) and returns: bool, unknown