current = this; while (current != null && current != node) { current = current.getParent(); }   if (current == node) { return true; }   return false;  }
return current == node; }
	public boolean isNodeAncestor(TreeNode node) {		// Variables		TreeNode	current;		// Sanity Check		if (node == null) {			return false;		} // if		// Search For Ancestor		current = this;		while (current != null && current != node) {			current = current.getParent();		} // while		// Check for Ancestor		if (current == node) {			return true;		} // if		// Otherwise, no		return false;	} // isNodeAncestor()