return True for isDirty