A Simple Way to Check for Internet Connectivity in Scripts