code: public static <T> boolean all(Collection<T> items, Predicate<T> predicate) {
          if (isEmpty(items)) {
              return false;
          }
  
          for (T item : items) {
              if (!predicate.apply(item)) {
                  return false;
              }
          }
  
          return true;
      }
docs: Returns <tt>true</tt> if all elements of a collection match the given predicate.
  
  @param items source items
  @param predicate predicate function
  @param <T> type of elements in the source collection
  @return <tt>true</tt> if all elements of a collection match the given predicate