public boolean isLeaf() {
        return this.children.isEmpty();
    }
Returns whether the node is a leaf node

@return {@code true} if the node is a leaf node, else {@code false}
cloud-core/src/main/java/org/incendo/cloud/internal/CommandNode.java