Check if the attribute has already been added to the dirty list.