isConnected

abstract fun isConnected(): Boolean

Signifies whether the device has a network available for making outbound connections.

Return

true if the device has valid connectivity; otherwise false