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