Is there an easy way to determine if at least one server window has an active connection, without using a while loop?

So for example, if my active window is a Status window of a disconnected server, but my other Status window is connected.

Before the multi-server age I just would use $server, but that of course isn't enough wink

Now using a variable, which increases ON CONNECT and decreases ON DISCONNECT.

Thanks!