public boolean isLeaf() {
        return children.isEmpty();
    }
Check whether or not this is a leaf node.

@return True if this has no children.
messagebus/src/main/java/com/yahoo/messagebus/TraceNode.java