boolean (@NotNull AnActionEvent e) { EventData data = collectEventData(e); if (data == null) return false; if (data.annotator.isAnnotationShown()) return true; return data.annotator.createAnnotationsLoader() != null; }