A clean way to handle booleans is using an inline conditional with the a ? b : c ternary operator, which is part of Swift's Basic Operations.
The inline conditional is made up of 3 components:
question ? answerIfTrue : answerIfFalse
where question is a boolean that is evaluated and answerIfTrue...