private static boolean isServicesEnvVarRequired(String version) {
        if (version.equals("latest")) {
            return false;
        }

        ComparableVersion comparableVersion = new ComparableVersion(version);
        if (comparableVersion.isSemanticVersion()) {
            return comparableVersion.isLessThan("0.13");
        }

        log.warn("Version {} is not a semantic version, services list is required.", version);

        return true;
    }
@param dockerImageName    image name to use for Localstack
@param useLegacyMode      if true, each AWS service is exposed on a different port
@deprecated use {@link #LocalStackContainer(DockerImageName)} instead
modules/localstack/src/main/java/org/testcontainers/containers/localstack/LocalStackContainer.java