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

        ComparableVersion comparableVersion = new ComparableVersion(version);
        return comparableVersion.isGreaterThanOrEqualTo("2.0.0");
    }
@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