Collection<RunContentDescriptor> (final Project project, final @NotNull NotNullFunction<? super String, Boolean> titleMatcher) { return findRunningConsole(project, selectedContent -> titleMatcher.fun(selectedContent.getDisplayName())); }