The key to the idea above is that you don't have any "else" clause. It's an early return, raise an exception, or modify the data so it's no longer bad.
Yes, that's why I said I realized they weren't quite the same situation, while adding another example of a situation where people create hard to follow structures.