public Tristate hasPermission(Node node,boolean t){
  for (  Node n : t ? getTransientNodes() : getNodes()) {
    if (n.almostEquals(node)) {
      return n.getTristate();
    }
  }
  return Tristate.UNDEFINED;
}

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