code: public static <T, E extends Exception> Predicate<T> sneaked(SneakyPredicate<T, E> predicate) {
      return t -> {
        @SuppressWarnings("unchecked")
        SneakyPredicate<T, RuntimeException> castedSneakyPredicate =
            (SneakyPredicate<T, RuntimeException>) predicate;
        return castedSneakyPredicate.test(t);
      };
    }
docs: Sneaky throws a Predicate lambda.
  
  @param predicate Predicate that can throw an exception
  @param <T> type of first argument
  @return a Predicate as defined in java.util.function