checks if a relay is connecting
bool isRelayConnecting(String url) { Relay? relay = globalState.relays[url]?.relay ?? null; return relay != null && relay.connecting; }