Adding isConnectedToAnyNetwork() method to network helper