how to check if all values in the columns of a numpy matrix are the same?,"a == a[(0), :]"