checks if a relay is connected, avoid using this
bool isRelayConnected(String url) { return globalState.relays[url]?.relayTransport?.isOpen() ?? false; }