adding is_route() helper
fix