Creates a goal that matches any of the goals in goals.
goals
If the list is empty, the goal will always match any node.
const factory Goal.any(List<Goal<T>> goals) = _AnyGoal<T>;