func checkSupportedHints()

in utils/hints.go [383:398]


func checkSupportedHints(actualannotation, key string, allSupportedHints []string) (bool, string) {
	found := false
	var incorrecthint string

	for _, checksupported := range allSupportedHints {
		if actualannotation == checksupported {
			found = true
			break
		}

	}
	if !found {
		incorrecthint = key
	}
	return found, incorrecthint
}