question: public Tristate hasPermission ( Node node , boolean t ) { for ( Node n : t ? getTransientNodes ( ) : getNodes ( ) ) { if ( n . almostEquals ( node ) ) { return n . getTristate ( ) ; } } return Tristate . UNDEFINED ; }
target:  Check if the holder has a permission node