I would like to test the equality of multiple args (i.e. it should retu True if all args are equal and False if at least one argument differs).
As numpy.equal can only handle two arguments, I would have tried reduce but it, obviously, fails:
reduce(np.equal, (4, 4, 4)) # retu False because...
reduce(np.equal, (True, 4)) # ... is False
