Extended version of [find_hierarchy_object], returning the first object that matches any of a range of names.
find_hierarchy_object_any(x, any_names, include_children = FALSE)
The object hierarchy to search. This is typically a `list` loaded from a scenario `.json` file.
A vector of object names to search for.
Should children be included in the result?
The matching object, or NULL if none found.