Remove the `return ` and after calling `self.transaction()` add a `return True`. That way the method returns only `True` or `False`. Yes, I know that returning a record set from the `single_value_sql` thing is **truish** but `__contains__` is a lower-level method and it'd be nice to stay closer to the "spec".