public static boolean isPathContainedWithin(Collection<ResourceFile> potentialParents,
			ResourceFile otherFile) {

		return potentialParents.stream().anyMatch(parent -> parent.containsPath(otherFile));
	}
Returns true if any of the given <code>potentialParents</code> is the parent path of or has
the same path as the given <code>otherFile</code>.

@param potentialParents The files that may be the parent
@param otherFile The file that may be the child
@return boolean true if otherFile's path is within any of the potentialParents' paths
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java