Is should be an `else if` (or maybe even better would be using multiple `return`s).