public static boolean isBound(DyldChainType ptrFormat, long chainValue) {

		return switch (ptrFormat) {
			case DYLD_CHAINED_PTR_ARM64E:
			case DYLD_CHAINED_PTR_ARM64E_KERNEL:
			case DYLD_CHAINED_PTR_ARM64E_USERLAND:
			case DYLD_CHAINED_PTR_ARM64E_USERLAND24:
				yield ((chainValue >>> 62) & 1) != 0;
			case DYLD_CHAINED_PTR_64:
			case DYLD_CHAINED_PTR_64_OFFSET:
				yield ((chainValue >>> 63) & 1) != 0;
			case DYLD_CHAINED_PTR_32:
				yield ((chainValue >>> 31) & 1) != 0;
			default:
				yield false;
		};
	}
@see <a href="https://github.com/apple-oss-distributions/dyld/blob/main/include/mach-o/fixup-chains.h">mach-o/fixup-chains.h</a>
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/dyld/DyldChainedPtr.java