void (Collection<? extends DataNode<Object>> toImport, @Nullable ProjectData projectData, @NotNull Project project, @NotNull IdeModifiableModelsProvider modelsProvider) { if (isRunning.compareAndSet(false, true)) { try { Thread.sleep(100); } catch (InterruptedException e) { throw new RuntimeException(e); } finally { isRunning.set(false); } } else { wasConcurrent.set(true); } }