code: def _is_sparse(cls, input_sparse, shape):
      if input_sparse and len(shape) > 0:
          return True
      return False
  
file_path: mars/mars/tensor/reduction/max.py
imports: from ...None import opcodes
  from ..datasource import tensor
  from .core import TensorReduction, TensorReductionMixin
label_desc: Use image node_id 2 for calling the TensorMax obj's underlying member method code with example usage: obj._is_sparse(cls, input_sparse, shape) and returns: False, True