check_sorted

glue.utils.array.check_sorted(array)[source]

Return True if the array is sorted, False otherwise.

Parameters
array~numpy.ndarray

The array to test.