public int getOpenIndex(Address address, int[] path) {
		int[] levels = map.get(address);
		if ((levels == null) || (levels.length == 0)) {
			return -1;
		}
		int levelsSize = levels.length;
		int pathSize = 0;
		if (path != null) {
			pathSize = path.length;
		}
		if (pathSize + 2 <= levelsSize) {
			return levels[pathSize + 1];
		}
		return -1;
	}
Returns the index of the component that is open at the given address.
@param address the address to find the open index.
@param path the component path.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/OpenCloseManager.java