code: func (whisper *Whisper) HasKeyPair(id string) bool {
  	whisper.keyMu.RLock()
  	defer whisper.keyMu.RUnlock()
  	return whisper.privateKeys[id] != nil
  }
docs: // HasKeyPair checks if the whisper node is configured with the private key
  // of the specified public pair.