code: def is_regular(self):
          
          if self.size <= 1:
              return False
          return numpy.isclose(numpy.diff(self.value, n=2), 0).all()
docs: Determine whether this `Index` contains linearly increasing samples
  
          This also works for linear decrease