private boolean isPackageConfigValid(PackageConfig packageConfig) {
        if (packageConfig == null) {
            LOGGER.error("module package config should not be null!");
            return false;
        }
        if (packageConfig.getMd5() == null) {
            LOGGER.error("package md5 should not be null!");
            return false;
        }
        if (packageConfig.getFileName() == null) {
            LOGGER.error("package file name should not be null!");
            return false;
        }
        if (packageConfig.getDownloadUrl() == null) {
            LOGGER.error("package url should not be null!");
            return false;
        }
        if (packageConfig.getStoragePath() == null) {
            LOGGER.error("package save path should not be null!");
            return false;
        }
        return true;
    }
module manager, deal with module add, delete and modify
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java