Checks if a verified public key is registered for peerId.
peerId
bool hasPublicKey(String peerId) => _keys.containsKey(peerId);