Make formatAsBool's parameter reference-to-const, as the value is only read.