def file_was_changed(self, editor):
        if not editor:
            return False
        return editor.file_was_changed
Returns if the file for an editor object has been changed.
dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/ui/plugin_editor_dock.py/PluginEditorDock.file_was_changed