Shorter if statement