ask the named routes collection if the route is defined

we should not be accessing internals to figure out if a method is
defined.