Assume a returning function:
func check(scores: [Int]) -> Bool { for score in scores { if score < 80 { return false }