class JsonApiResource extends JsonApiResourceIdentifier implements JsonLinks, JsonApiData {

	@Override
	public boolean hasRelationshipTo(JsonApiIdentifiable related) {
		return relationships.entrySet().stream()
			.anyMatch(r -> r.getValue().containsEntity(related));
	}

	  JsonApiResource(JsonApiIdentifiable entity, URI uri);

}