code: def issparse(x):
      if cps and cps.issparse(x):
          # is cupy.sparse
          return True
      if sps and sps.issparse(x):
          # is scipy.sparse
          return True
      if np and isinstance(x, np.ndarray):
          return False
      if cp and isinstance(x, cp.ndarray):
          return False
  
      from .array import SparseNDArray
  
      return isinstance(x, SparseNDArray)
  
file_path: mars/mars/lib/sparse/core.py
imports: import numpy
  from ...utils import lazy_import
label_desc: Use image node_id 1 for calling a global function with example usage: issparse(x) and returns: isinstance, True, True, False, False