Verify that Host is VPN’ed

Sometimes you want to verify that a remote host is currently connected to a VPN, before performing an additional action. Here is a script to verify that host is VPN’ed