private static @Nullable String find(@NotNull List<String> list, @NotNull Predicate<String> predicate) {
    return list.stream()
      .filter(predicate)
      .findFirst().orElse(null);
  }
private static @Nullable String find(@NotNull List<String> list, @NotNull Predicate<String> predicate)