isConnectionAvailable

Checks if network connection is currently available.

Return

true if network connection is available, false otherwise.