Checking Network Connectivity

Is there any way to check if a system is connected to a specific network (LAN), with only relevance?

The goal here is to have the ClientUI Dashboard show if a system is connected to the corporate network. VPN or direct connect doesn’t matter, as long as they are able to show that they have a connection.

My initial though was to use an action to check for server connectivity, but then I realized that we would not be able to update that infomation inside of the ClientUI as it would have to wait for the action to run before it would update. A purely relevance based solution seems to be the only thing that would work.

Perhaps the logic here could be based on whether or not the Client is registered with an ‘internal’ Relay? (or NOT connected to an external Relay)