Not quite.  The "dual" enums have more than one bit set, so you have to test them for equality.

- Jonathan Morton