htmlIsBooleanAttr is available since version 1.0.
Prototype:
boolean htmlIsBooleanAttr(string name)
Parameters
name
the name of the attribute to check
Description:
Determine if a given attribute is a boolean attribute.
Return value:
Returns false if the attribute is not boolean, true otherwise.