isInRoute used in more places