isProtected abstract method

bool isProtected(
  1. PeerId peerId,
  2. String tag
)

Returns true if the peer is protected for some tag; if the tag is the empty string then it will return true if the peer is protected for any tag

Implementation

bool isProtected(PeerId peerId, String tag);