Using .allSatisfy in Swift
You'll often find yourself in a position where you need to check if a particular condition applies across a collection of objects. Luckily, Swift provides the allSatisfy() method to handle just that.
Let's say we want to write a function to verify that a student has