Read-only. Indicates whether a document is new. A new document is one that hasn't been saved.
NotesUIDocument
Boolean
To get: flag = notesUIDocument .IsNewDoc
@IsNewDoc function in the Formula language
Example