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