code: def is_sparse(X):
      """
      Return true if X is sparse, false otherwise.
      Parameters
      ----------
      X : array-like, sparse-matrix
  
      Returns
      -------
  
      is_sparse : boolean
          is the input sparse?
      """
      is_scipy_sparse = has_scipy() and scipy.sparse.isspmatrix(X)
      return cupyx.scipy.sparse.isspmatrix(X) or is_scipy_sparse
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_sparse(X) and returns: unknown