public static void check(@NotNull String message, @NotNull BooleanSupplier statementSupplier) {
    if (!statementSupplier.getAsBoolean()) {
      throw new IllegalStateException(message);
    }
  }
public static void check(@NotNull String message, @NotNull BooleanSupplier statementSupplier)