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