Sorry about the delay here... I think `is_bool` or `_is_bool` makes more sense.  I'm not aware of what optimizations could be used for a boolean array that would be a significant improvement over multiplication - did you have something specific in mind?