enum values are always singletons, so enums can use != and ==, just like ints (unlike Strings etc).
The rest of planner uses != and == for enums, so let's use that here too.