public boolean hasKey(String key) {
        return configStorage.containsKey(key);
    }
whether key exists

@param key key
@return true if key exists else not
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/conf/AbstractConfiguration.java