public static <T> boolean all(@NotNull Collection<? extends T> collection, @NotNull Condition<? super T> condition) {
    for (T t : collection) {
      if (!condition.value(t)) {
        return false;
      }
    }
    return true;
  }
public static <T> boolean all(@NotNull Collection<? extends T> collection, @NotNull Condition<? super T> condition)