Removed SPARK_WLAN_hasAddress() and instead used WiFi.status() condition