@Override
    public boolean needRestart() {
        return restart;
    }
@param defaultValue the value to check.
@throws IllegalArgumentException if the value is illegal according to the node type.
configgen/src/main/java/com/yahoo/config/codegen/LeafCNode.java