(self, x)
return x in self.assignment
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 self.assignment
def __contains__ ( self , x ) : return x in self . assignment