Adding space after if and replacing check for false with negation.