@classmethod<EOL><INDENT>def clean_pair(cls, attribute, value):<DEDENT>
attribute = cls.clean_attribute(attribute)<EOL>if value is True:<EOL><INDENT>value = attribute<EOL><DEDENT>if value is False:<EOL><INDENT>value = "<STR_LIT:false>"<EOL><DEDENT>return (attribute, value)<EOL>
This will call `clean_attribute` on the attribute and also allows for the
creation of boolean attributes.

Ex. input(selected=True) is equivalent to input(selected="selected")