Using a bool here makes the purpose of the condition very clear.