code: def isspmatrix_csr(x):
      """Is x of csr_matrix type?
  
      Parameters
      ----------
      x
          object to check for being a csr matrix
  
      Returns
      -------
      bool
          True if x is a csr matrix, False otherwise
  
      Examples
      --------
      >>> from scipy.sparse import csr_matrix, isspmatrix_csr
      >>> isspmatrix_csr(csr_matrix([[5]]))
      True
  
      >>> from scipy.sparse import csc_matrix, csr_matrix, isspmatrix_csc
      >>> isspmatrix_csr(csc_matrix([[5]]))
      False
      """
      return isinstance(x, csr_matrix)
  
imports: import numpy
  from .base import spmatrix
  from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix
  from .sputils import upcast, get_index_dtype
  from .compressed import _cs_matrix
label_desc: Use image node_id 1 for calling a global function with example usage: isspmatrix_csr(x) and returns: isinstance