Cleaner if statement