class JsonApiRelationship {

	boolean containsEntity(JsonApiIdentifiable entity) {
		return data.stream()
			.anyMatch(id -> id.isSame(entity));
	}

	  JsonApiRelationship(JsonApiIdentifiable entity, URI location);
	  JsonApiRelationship(Collection<? extends JsonApiIdentifiable> entityCollection, URI location);

}