docs: @Nullable public GeoTarget getIdAncestor(GeoTarget.Type type) {
      for (GeoTarget target = this; target != null; target = target.idParent) {
        if (target.key.type == type) {
          return target;
        }
      }
  
      return null;
    }