Walk along the hierarchy of containers from the given AST node to the root and check for existence of a container that matches the given predicate. The start node is included in the checks.
Walk along the hierarchy of containers from the given AST node to the root and check for existence of a container that matches the given predicate. The start node is included in the checks.