code: def time_2d(self, connectivity, allow_borders):
      morphology.local_maxima(
          self.image,
          connectivity=connectivity,
          allow_borders=allow_borders,
      )
  
imports: import numpy
  from numpy.lib import NumpyVersion
  import skimage
  from skimage import data, morphology, util
label_desc: Use image node_id 2 for calling the LocalMaxima obj's underlying member method code with example usage: obj.time_2d(connectivity, allow_borders) without return types