code: def isspmatrix_coo(x):
      """Checks if a given matrix is of COO format.
  
      Returns:
          bool: Returns if ``x`` is :class:`cupyx.scipy.sparse.coo_matrix`.
  
      """
      return isinstance(x, coo_matrix)
  
imports: import numpy
  import cupy
  from cupy import _core
  from cupyx.scipy.sparse import _base
  from cupyx.scipy.sparse import _csc
  from cupyx.scipy.sparse import _csr
  from cupyx.scipy.sparse import _data
  from cupyx.scipy.sparse import _util
  from cupyx.scipy.sparse import _sputils
label_desc: Use image node_id 1 for calling a global function with example usage: isspmatrix_coo(x) and returns: isinstance