how to check if all values in the columns of a numpy matrix are the same?,"np.equal.reduce([1, 0, 0, 1])"