Fastest way to test if particle.connect() is necessary

Per docs Particle.connect

After you call Particle.connect(), your loop will not be called again until the device finishes connecting to the Cloud. Typically, you can expect a delay of approximately one second.

Can someone comment what happens if there is no valid SSID in the vicinity - does it block for approx 30 seconds - see comment re wifi.connect here starting-spark-core-without-wifi-solved?

Many thanks
John