def _network_ping(self):
try:
urlopen(urljoin(self.url, "syspub/0"))
except HTTPError as e:
if e.code == http_client.FORBIDDEN:
return True
return False
except URLError:
return False
return True