isP2P method

bool isP2P()

Check if topic is a p2p topic

Implementation

bool isP2P() {
  return Tools.isP2PTopicName(name ?? '');
}