def tag_exists(self, version):
for tag in self.available_tags():<EOL><INDENT>if tag == version:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Check if a tag has already been created with the name of the
        version.