No, but it makes it a cleaner looking piece of code since its used in the if and the else.