This can be quite useful for replacing cases with boolean outputs, if we are not concerned about…
KrishnaKumar
2

It can be useful, but what do you think of it from a maintainability perspective?

It may not be intuitive/clear for someone reading your code in future iterations.