public boolean isBelow ( PlanNode possibleAncestor ) { PlanNode node = this ; while ( node != null ) { if ( node == possibleAncestor ) return true ; node = node . getParent ( ) ; } return false ; }
Determine if the supplied node is an ancestor of this node .