public boolean isOpen(Address address, int[] path) {
		int[] levels = map.get(address);
		if (levels == null) {
			return false;
		}
		if ((path == null) || (path.length == 0)) {
			return ((levels.length > 0) && (levels[0] != -1));
		}
		int levelSize = levels.length;
		int pathSize = path.length;
		if (pathSize >= levelSize) {
			return false;
		}
		for (int i = 0; i < pathSize; i++) {
			if (levels[i + 1] == -1) {
				return false;
			}
			if (levels[i + 1] != path[i]) {
				return false;
			}
		}
		return true;
	}
Test is the data at the given address and component path is open
@param address the address to test
@param path the component path to test.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/OpenCloseManager.java