Checks if a HTML attribute is a boolean