check if all values in the columns of a numpy matrix `a` are same,"np.all(a == a[(0), :], axis=0)"