// "Replace 'filter().findAny().isPresent()' with 'anyMatch()'" "true-preview"

import java.util.*;
import java.util.stream.Stream;

class FilterFindIsPresent {
  public static void test(List<String> list) {
    if(list.stream().anyMatch(l -> !l.isEmpty())) {
      System.out.println("oops");
    }
  }
}