PyIPersistStorage.IsDirty

int = IsDirty()

Checks the object for changes since it was last saved.

Return ValueDescription
S_OK (ie, 0)The object has changed since it was last saved.
S_FALSE (ie, 1)The object has not changed since the last save.