Detecting whether on my home network

I want to hide some text and a field when in front of a customer w/ my laptop. I’m thinking about checking for my home server since I know this won’t be available when I’m away. I’m using the following currently in the hide when:

ret := @DbColumn( “”; “server/domain”:“names”; “people”; 1 );

@If( @IsError( ret ); @True; @False )

This works but there is a short delay if I plug/unplug my network cable during testing (this may not be a problem if I unplug and go to the customer’s site).

Is there a better way?