maybe you could use the normal = in the first case and a "isAt = isAt || ..." in the second. |= isn't lazy as far as I know