private boolean hasAcceptedRelatedAssociation(VTAssociation association,
			TaskMonitor taskMonitor) throws CancelledException {

		VTAssociationManager vtAssocManager = session.getAssociationManager();

		Set<VTAssociation> relatedAssociations =
			new HashSet<VTAssociation>(
				vtAssocManager.getRelatedAssociationsBySourceAndDestinationAddress(
					association.getSourceAddress(), association.getDestinationAddress()));

		for (VTAssociation relatedAssociation : relatedAssociations) {

			taskMonitor.checkCancelled();

			//skip self
			if (relatedAssociation.equals(association)) {
				continue;
			}

			VTAssociationStatus status = relatedAssociation.getStatus();

			if (status.equals(VTAssociationStatus.ACCEPTED)) {
				Msg.debug(this, relatedAssociation.toString() + " is already accepted match.");
				return true;
			}

		}
		return false;
	}
Method to test whether any related associations (ie associations with either the same source 
or the same destination address) have already been accepted
@param association the given association (src/dest match pair)
@param taskMonitor the task monitor
@return true if any related associations have already been accepted, false otherwise
@throws CancelledException if cancelled
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/AutoVersionTrackingTask.java