Returns whether a nav parent or any of its children matches the current route.
Current app pathname.
Nav item to evaluate.
True when the parent section should appear active.
Returns whether a nav parent or any of its children matches the current route.