isWifiConnection

Checks if the active network connection is a Wi-Fi network.

Return

true if the active connection is a Wi-Fi network, otherwise false.