This can be a single ternary conditional. This is the single case (returning true/false) where using one makes sense.