@classmethod
def clean_pair(cls, attribute, value):
    """
    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")
    """
    attribute = cls.clean_attribute(attribute)
    if value is True:
        value = attribute
    return attribute, value
