public static boolean isContainerExitCodeSuccess(InspectContainerResponse.ContainerState state) {
        int exitCode = state.getExitCode();
        // 0 is the only exit code we can consider as success
        return exitCode == 0;
    }
Based on this status, has the container halted?

@param state the state provided by InspectContainer
@return true if we can conclude that the container has started but is now stopped, false otherwise.
core/src/main/java/org/testcontainers/utility/DockerStatus.java