You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: platform_compat_windows.go
    path of file: ./repos/zeebe/clients/go/vendor/github.com/Microsoft/hcsshim/osversion
    
    the code of the file until where you have to start completion: package osversion

// List of stable ABI compliant ltsc releases
// Note: List must be sorted in ascending order
var compatLTSCReleases = []uint16{
	V21H2Server,
}

// CheckHostAndContainerCompat checks if given host and container
// OS versions are compatible.
// It includes support for stable ABI compl
    
func CheckHostAndContainerCompat(host, ctr OSVersion) bool {
	// check major minor versions of host and guest
	if host.MajorVersion != ctr.MajorVersion ||
		host.MinorVersion != ctr.MinorVersion {
		return false
	}

	// If host is < WS 2022, exact version match is required
	if host.Build < V21H2Server {
		return host.Build == ctr.Build
	}

	var supportedLtscRelease uint16
	for i := len(compatLTSCReleases) - 1; i >= 0; i-- {
		if host.Build >= compatLTSCReleases[i] {
			supportedLtscRelease = compatLTSCReleases[i]
			break
		}
	}
	return ctr.Build >= supportedLtscRelease && ctr.Build <= host.Build
}