def is_regular(self):
if self.size <= <NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT>return numpy.isclose(numpy.diff(self.value, n=<NUM_LIT:2>), <NUM_LIT:0>).all()<EOL>
Determine whether this `Index` contains linearly increasing samples

        This also works for linear decrease