isConnected

open fun isConnected(): Boolean

Return whether network is connected.

Must hold {@code }

Return

{@code true}: connected{@code false}: disconnected