@Override
	public boolean hasPrimaryField(int i) {
		if (i < 0 || i >= layouts.size()) {
			return false;
		}
		return (layouts.get(i).getPrimaryOffset() >= 0);
	}
Constructor.

@param layouts the set of layouts that are currently visible on the screen
@param map the map containing the addresses by index
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/VerticalPixelAddressMapImpl.java