def non_increasing ( values ) : return all ( x >= y for x , y in zip ( values , values [ 1 : ] ) )
checking if the row value is the same with the row value above it in python
True if values are not increasing .
def non_increasing(values):
    """True if values are not increasing."""
    return all(x >= y for x, y in zip(values, values[1:]))