public boolean isRepositoryEnabled() {
        if (noneBlank(s3ClientDefaultEndpoint, s3ClientDefaultAccessKey, s3ClientDefaultSecretKey)) {
            // All the required properties are set and not blank, s3 repository is enabled
            return true;
        } else if (allBlank(s3ClientDefaultEndpoint, s3ClientDefaultAccessKey, s3ClientDefaultSecretKey)) {
            // all are empty, this means repository is not configured at all
            return false;
        } else {
            // One or two properties are configured, this is an incomplete configuration we can't handle this situation
            throw new IllegalStateException("""
                    S3 Client not configured properly, all
                    s3_client_default_access_key, s3_client_default_secret_key and s3_client_default_endpoint
                    have to be provided in the configuration!""");
        }
    }

    private boolean noneBlank(String... properties) {
        return Arrays.stream(properties).noneMatch(StringUtils::isBlank);
    }

    private boolean allBlank(String... properties) {
        return Arrays.stream(properties).allMatch(StringUtils::isBlank);
    }
}
@Test
    void testEmptyConfigurationDisabled() throws ValidationException, RepositoryException {
        final S3RepositoryConfiguration config = initializeConfiguration(Map.of());
        Assertions.assertThat(config.isRepositoryEnabled()).isFalse();
    }