AgentSet breed =
breedName == null
? world.links()
: world.getLinkBreed(breedName);
mustNotBeDirected(breed, context);
LinkManager linkManager = world.linkManager;
return linkManager.findLinkFrom(parent, target, breed, true) != null
|| linkManager.findLinkFrom(target, parent, breed, true) != null;
}