boolean (Content content) { RunContentDescriptor descriptor = RunContentManagerImpl.getRunContentDescriptorByContent(content); if (descriptor == null) return false; ExecutionManagerImpl executionManager = ExecutionManagerImpl.getInstance(myProject); Set<RunnerAndConfigurationSettings> descriptorConfigurations = executionManager.getConfigurations(descriptor); if (descriptorConfigurations.isEmpty()) return true; Set<RunConfiguration> storedConfigurations = new HashSet<>(RunManager.getInstance(myProject).getAllConfigurationsList()); return !ContainerUtil.exists(descriptorConfigurations, descriptorConfiguration -> { RunConfiguration configuration = descriptorConfiguration.getConfiguration(); return isShowInDashboard(configuration) && storedConfigurations.contains(configuration); }); }