code: def isscalar(cls, dataset, dim):
      return len(cls.values(dataset, dim, expanded=False)) == 1
  
imports: import sys
  import warnings
  import numpy
  import param
  from ..None import util
  from ..element import Element
  from ..ndmapping import NdMapping
  from .util import finite_range
label_desc: Use image node_id 11 for calling the Interface obj's underlying member method code with example usage: obj.isscalar(cls, dataset, dim) and returns: unknown