code: def is_bipartite(G):
      """
      Checks if Graph is bipartite. This solely relies on the Graph type.
      This does not parse the graph to check if it is bipartite.
      """
      return G.is_bipartite()
  
imports: import numpy
  from .graph_implementation import simpleGraphImpl, simpleDistributedGraphImpl, npartiteGraphImpl
  import cudf
  import dask_cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 5 for calling a global function with example usage: is_bipartite(G) and returns: G