public boolean isClassAnAncestorOfAnyOnList(List<RecoveredClass> recoveredClasses,
			RecoveredClass possibleAncestor) throws Exception {

		for (RecoveredClass recoveredClass : recoveredClasses) {
			monitor.checkCancelled();
			if (isClassAnAncestor(recoveredClass, possibleAncestor)) {
				return true;
			}
		}
		return false;
	}
Method to determine if the given possible ancestor is an ancestor of any of the listed classes
@param recoveredClasses List of classes
@param possibleAncestor possible ancestor of one of the listed classes
@return true if ancestor of one of the listed classes, false otherwise
@throws Exception if one of the classes has empty class hierarchy
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java