Feel free to give it a try.
I have added opSlice, which returns an array of your enum of all the flags it qualifies for. An empty enum (say, zero) never qualifies as it has no bits to make it unique (or it would always be present no matter what).
Mmm... I actually hope that's all that's needed for it.