Adding isConnected to protocol