Numpy Check If Array Is Monotonically Definition