(self, version)
return False
Whether `version in self`.
Whether `version in self`.
Whether version in self .
def __contains__(self, version):
        """Whether `version in self`."""
        if isinstance(version, Version):
            return self.match(version)
        return False
def __contains__ ( self , version ) : if isinstance ( version , Version ) : return self . match ( version ) return False