code: def _is_sparse(cls, x1, x2):
      if (
          hasattr(x1, "issparse")
          and x1.issparse()
          and np.isscalar(x2)
          and x2 <= 0
      ):
          return True
      if (
          hasattr(x2, "issparse")
          and x2.issparse()
          and np.isscalar(x1)
          and x1 <= 0
      ):
          return True
      return False
  
file_path: mars/mars/tensor/arithmetic/maximum.py
imports: import numpy
  from ...None import opcodes
  from ..utils import infer_dtype
  from .core import TensorBinOp
  from .utils import arithmetic_operand
label_desc: Use image node_id 1 for calling the TensorMaximum obj's underlying member method code with example usage: obj._is_sparse(cls, x1, x2) and returns: False, True, True