Perhaps a bit more readable? ``np.all(np.sign(v_max) == np.sign(v_max[0]))``