public boolean getBoolean(String key, boolean defaultValue) {
        JsonElement value = configStorage.get(key);
        return value == null ? defaultValue : value.getAsBoolean();
    }
get boolean

@param key key
@param defaultValue default value
@return boolean
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/conf/AbstractConfiguration.java