Persisted

Forms Developer Guides Scripting Data Object

PERSISTED()

data.persisted();

Returns a boolean indicating whether the submission has been saved.