isConnected

open fun isConnected(): Boolean

Called to check if current connection status is STATE_CONNECTED.

Return

Booleantrue if connection state is STATE_CONNECTED, false otherwise.