Returns whether a nav parent has an active child route (for auto-expanding accordions).
Current app pathname.
Nav item to evaluate.
True when a nested child is active.
Returns whether a nav parent has an active child route (for auto-expanding accordions).