vispy.util.eq.
eq
The great missing equivalence function: Guaranteed evaluation to a single bool value.