public boolean hasRelationSpecificType(@NotNull Relation relation) {
    return relation == getDefaultRelation() || myPerRelationTypes.containsKey(relation);
  }
public boolean hasRelationSpecificType(@NotNull Relation relation)