@Override
	public void setVar(AddressSpace space, T offset, int size, boolean quantize, T val) {
		if (isThreadLocalSpace(space)) {
			localState.setVar(space, offset, size, quantize, val);
			return;
		}
		sharedState.setVar(space, offset, size, quantize, val);
	}
Decide whether or not access to the given space is directed to thread-local state

@param space the space
@return true for thread-local state, false for shared state
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/ThreadPcodeExecutorState.java