code: def is_multigraph(G):
      """
      Returns True if the graph is a multigraph. Else returns False.
      """
      return G.is_multigraph()
  
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 3 for calling a global function with example usage: is_multigraph(G) and returns: G