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