public boolean isLeaf() {
        return children == null;
    }
Check if current node is a leaf node.

@return True if leaf, false otherwise.
model-integration/src/main/java/ai/vespa/rankingexpression/importer/xgboost/XGBoostTree.java