custom attribute formatter for the attribute type "boolean"