Let's say your value to check can be 2 or 3. Then you currently can do
CHECK(val == 2 || val == 3)
which solves the issue but does not give nice error messages.
We could add something like
XXX_ONE_OF_WAVE(val, {2, 3})
XXX_ONE_OF_TEXTWAVE(str, {"a", "b"})