The requiresFullSave property returns whether the document requiers a full save because it is temporary or just created.
System.Boolean requiresFullSave();
Returns the current property value.
This property is Read-Only
Member of doc.