PyCEditView.IsModified

int = IsModified()

Indicates if the view's document has the modified flag set.