question: public boolean isConnected ( short nodeId ) { NodeConnection nc = connections . get ( nodeId ) ; return ( nc != null && nc . state == NodeConnectionState . CONNECTED ) ; }
target:  Find out if a particular node is connected