protected static boolean hasCause(Throwable t, Class<?> cause) {
    return t != null && (cause.isInstance(t) || hasCause(t.getCause(), cause));
  }
Verifies that a profile maps input elements map to expected output vector tile features as defined by a
{@link SchemaSpecification} instance.
planetiler-core/src/main/java/com/onthegomap/planetiler/validator/BaseSchemaValidator.java