// "Replace with 'stream.findAny().isEmpty()'" "true-preview"

import java.util.stream.Stream;

class Test {
  boolean isEmpty(Stream<String> stream) {
      /*d*/
      /*e*/
      /*f*/
      /*g*/
      /*h*/
      /*i*/
      return /*a*/stream/*b*/./*c*/limit(42).findAny().isEmpty()/*j*/;
  }
}