private static void addNode(ConfigDefinition def, LeafCNode.BooleanLeaf leaf) {
        if (leaf.getDefaultValue() != null) {
            def.addBoolDef(leaf.getName(), Boolean.valueOf(leaf.getDefaultValue().getValue()));
        } else {
            def.addBoolDef(leaf.getName());
        }
    }
@param def a ConfigDefinition object
@param node the node to be added to the config definition
config/src/main/java/com/yahoo/vespa/config/ConfigDefinitionBuilder.java