code: def is_multipartite(G):
      """
      Checks if Graph is multipartite. This solely relies on the Graph
      type. This does not parse the graph to check if it is multipartite.
      """
      return G.is_multipatite()
  
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 4 for calling a global function with example usage: is_multipartite(G) and returns: G