code: def is_uniformly_weighted(self):
          
          try:
              is_uniformly_weighted = self.__is_uniformly_weighted
          except AttributeError:
              bdry_fracs = self.partition.boundary_cell_fractions
              is_uniformly_weighted = (
                  np.allclose(bdry_fracs, 1.0) or
                  self.exponent == float('inf') or
                  not getattr(self.tspace, 'is_weighted', False))
  
              self.__is_uniformly_weighted = is_uniformly_weighted
  
          return is_uniformly_weighted
docs: ``True`` if the weighting is the same for all space points.