See the second paragraph of #747 (comment). In short, to aid with development with limited internet access and help with issues of flaky URL access, we can create a small helper function to check for network access and use that to conditional skip tests which rely on being online, which are the minority of tests.