public boolean hasRoutes() {
        return !routes.isEmpty();
    }
Returns whether or not there are any route specs contained in this.

@return True if there is at least one route.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTableSpec.java