isConnected

abstract fun isConnected(): Boolean

Checks if the connection is alive.

Return

true if the connection is alive, otherwise false.