`bool ? 1 : 0` looked cumbersome, but don't have a strong opinion.