code: public static <T> Predicate<Iterable<T>> anyPredicate(final Predicate<T> pred) {
      return new Predicate<Iterable<T>>() {
        @Override
        public boolean apply(final Iterable<T> iter) {
          return com.google.common.collect.Iterables.any(iter, pred);
        }
      };
    }
docs: Promotes a predicate over T to a predicate over Iterable<T> that returns true if an only if any
  the predicate is true for any of the iterable's contents.