hasPublicKey method

bool hasPublicKey(
  1. String peerId
)

Checks if a verified public key is registered for peerId.

Implementation

bool hasPublicKey(String peerId) => _keys.containsKey(peerId);