There is a reason for the bitwise operator but it's not explained: The attribute_foreach function callback has side-effects that the compiler does not know about (everything is const). Simply replacing the bitwise operator will cause the second term to be skipped, which breaks tests due to missing attributes. Now the term is explicitly evaluated first, then combined with actual boolean operator. Pull Request: https://projects.blender.org/blender/blender/pulls/126366