function isOpen = IsEditorOpen()
allDocs = matlab.desktop.editor.getAll;
isOpen = ~isempty(allDocs);
end