code: func IsISO3166Alpha2(str string) bool {
  	for _, entry := range ISO3166List {
  		if str == entry.Alpha2Code {
  			return true
  		}
  	}
  	return false
  }
docs: // IsISO3166Alpha2 checks if a string is valid two-letter country code