isLegacyNotifications method
does this connection only support legacy notifications
Implementation
bool isLegacyNotifications() {
return (supportedVersions.length == 1 && supportedVersions.first == "0.0" ||
!supportedVersions.any((e) => e != "0.0")) && !supportedEncryptions.any((e) => e != "nip04");
}