code: public boolean hasVersionLabel(String label) throws RepositoryException
     {
        checkValid();
  
        if (this.getVersionDataByLabel(label) == null)
        {
           return false;
        }
  
        return true;
     }
docs: {@inheritDoc}