Here's a method that makes it easy to check the current route. This is great for active link checking in your apps navbar.