This intention simplifies an unnecessary if-else statement.