Use the number of 'slots' in the AttributeSetImpl being 0 to indicate that the AttributeSet is empty.