Given @taldcroft's comment below, I think this should this also be `np.any` to make it speedier.