Parses an attribute's value "true" or "1" as true.