checkNetwork() returns true/false if connected