Returns whether or not the document has been changed since it was created or loaded. If not, the Save property is True; if it has been changed, the Saved property is False.
BooleanVariable = object.Saved
BooleanVariable is a variable (True or False) specifying whether or not the document has been saved since it was loaded or changed.
object is the Document object.
Saved property example