ok = pattribute:Equal(attr2)
attr2 for equality.
This compares only the actual value of the two attributes and not the ranges that the attributes apply to.
This function returns True if the two attributes have the same value.
True if the two attributes have the same value, False otherwise