can-save-file? in editor:basic-mixin

Called just before the editor is saved to a file. If the return value is #f, the file is not saved. See also on-save-file and after-save-file.