(self, x)
return x in (v for v, _ in self)
Returns whether the model contains a value for 'x'.
Returns whether the model contains a value for 'x'.
Returns whether the model contains a value for x .
def __contains__(self, x):
        """Returns whether the model contains a value for 'x'."""
        return x in (v for v, _ in self)
def __contains__ ( self , x ) : return x in ( v for v , _ in self )