public bool Exists(Predicate <GoNode> p) { if (p(this)) { return(true); } return(ChildNodes.Exists(c => Exists(p))); }