This case expression would be clearer as an if expression, since it's just testing two different boolean expressions.