I just noticed that string.format is missing an option (I think), namely, a boolean option.
How about -
%b -> "true" or "false" %bc -> "True" or "False" %bu -> "TRUE" or "FALSE" %b0 -> 0 or 1
David B.