private boolean validNode ( final Node < K , V > node , final String thread_id ) { if ( auto_commit || node == null ) return ( node != null ) ; return ! ( ( node . is ( Node . DELETED , thread_id ) ) || ( node . is ( Node . ADDED , null ) && node . is ( Node . NO_CHANGE , thread_id ) ) ) ; }
Checks that this node is valid for the current thread