def contains_version(self, version):
if len(self.bounds) < <NUM_LIT:5>:<EOL><INDENT>for bound in self.bounds:<EOL><INDENT>i = bound.version_containment(version)<EOL>if i == <NUM_LIT:0>:<EOL><INDENT>return True<EOL><DEDENT>if i == -<NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>_, contains = self._contains_version(version)<EOL>return contains<EOL><DEDENT>return False<EOL>
Returns True if version is contained in this range.