Adding the ability to use a .hasSubRoutes boolean route property rather than *details

I'd like to propose an alternative to loading subroutes using *details which uses a specific property which signifies that the route has subroutes.

The suggested code is a simple hack to allow the property.  I'd certainly welcome alternative cleaner ways of doing it that would offer the same functionality.