isConnected impl