def _internet_on(address):
try:<EOL><INDENT>urllib2.urlopen(address, timeout=<NUM_LIT:1>)<EOL>return True<EOL><DEDENT>except urllib2.URLError as err:<EOL><INDENT>return False<EOL><DEDENT>
Check to see if the internet is on by pinging a set address.
:param address: the IP or address to hit
:return: a boolean - true if can be reached, false if not.