New method which returns active class if route is matched