Cómo verificar si algo está en un set en Swift

let foo: Set = [1]
foo.contains(1) // true
Defiant Dog