public boolean hasChildren() {
        return !node.getChildren().isEmpty();
    }
<p>Returns whether or not the owning routing node has any child
nodes.</p>

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