code: def _is_sparse(cls, x1, x2):
      if hasattr(x1, "issparse") and x1.issparse():
          return True
      return False
  
file_path: mars/mars/tensor/special/info_theory.py
imports: import scipy.special
  from ..arithmetic.utils import arithmetic_operand
  from ..utils import infer_dtype, implement_scipy
  from .core import TensorSpecialUnaryOp, TensorSpecialBinOp, _register_special_op
label_desc: Use image node_id 1 for calling the TensorRelEntr obj's underlying member method code with example usage: obj._is_sparse(cls, x1, x2) and returns: False, True