Visits the children in index order until action returns true; returns whether it did.
index
action
bool forEachChild(Index index, ChildVisitor action);