public static boolean isMachoFileset(ByteProvider provider) {
		try {
			return new MachHeader(provider).parseAndCheck(LoadCommandTypes.LC_FILESET_ENTRY);
		}
		catch (MachException | IOException e) {
			// Assume it's not a Mach-O file set...fall through
		}
		return false;
	}
Check to see if the given {@link ByteProvider} is a Mach-O file set

@param provider The {@link ByteProvider} to check
@return True if the given {@link ByteProvider} is a Mach-O file set; otherwise, false
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoPrelinkUtils.java