internet.CheckConnection url:<string> [force:<bool>]
This method checks to see if a connection to the Internet can be established.
If url: is specified, a connection is attempted to the specified url, returning true if a connection was made, false if not.
If force: is true, a connection is forced. If false (the default), a connection is not forced.
The URL must be fully qualified, for example: url:"http://www.autodesk.com"