class NativeTransforms {

  public static boolean isNative(RunnerApi.PTransform pTransform) {
    Iterator<IsNativeTransform> matchers = ServiceLoader.load(IsNativeTransform.class).iterator();
    while (matchers.hasNext()) {
      if (matchers.next().test(pTransform)) {
        return true;
      }
    }
    return false;
  }

}