code: func (p *Pubring) Contains(fp string) bool {
  	p.Lock()
  	defer p.Unlock()
  
  	for _, pk := range p.data.PublicKeys {
  		if pk.Fingerprint == fp {
  			return true
  		}
  	}
  
  	if p.secring == nil {
  		return false
  	}
  
  	return p.secring.Contains(fp)
  }
docs: // Contains checks if a given key is in the keyring