Attribute that records if it was cleared or not. This is used for testing that clearAttributes() was called correctly.