def eval(self, ctx): (obj, err) = super(NotEq, self).eval(ctx) return not obj if obj in (True, False,) else obj, err