Added new public method isValidRoute

isValidRoute is to be used to check whether the passed request URI is a
matching URI for the registered routes. This is useful for the parent
class to spot invalid routes to pass on when used as a middleware.