code: def isspmatrix_coo(x):
      """Is x of coo_matrix type?
  
      Parameters
      ----------
      x
          object to check for being a coo matrix
  
      Returns
      -------
      bool
          True if x is a coo matrix, False otherwise
  
      Examples
      --------
      >>> from scipy.sparse import coo_matrix, isspmatrix_coo
      >>> isspmatrix_coo(coo_matrix([[5]]))
      True
  
      >>> from scipy.sparse import coo_matrix, csr_matrix, isspmatrix_coo
      >>> isspmatrix_coo(csr_matrix([[5]]))
      False
      """
      return isinstance(x, coo_matrix)
  
imports: from __future__ import division, print_function, absolute_import
  from warnings import warn
  import numpy
  from scipy._lib.six import zip
  from ._sparsetools import coo_tocsr, coo_todense, coo_matvec
  from .base import isspmatrix, SparseEfficiencyWarning, spmatrix
  from .data import _data_matrix, _minmax_mixin
  from .sputils import upcast, upcast_char, to_native, isshape, getdtype, get_index_dtype, downcast_intp_index, check_shape, check_reshape_kwargs, matrix
label_desc: Use image node_id 1 for calling a global function with example usage: isspmatrix_coo(x) and returns: isinstance