private void check(String name, Supplier<Boolean> check) {
    checkWithMessage(name, () -> check.get() ? Optional.empty() : Optional.of("false"));
  }
Exits with a nonzero exit code if there were any failures.
planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Verify.java