def METHOD_NAME(self):
    with self._lock:
        wrapped_state = self._wrapped_state
        if wrapped_state is None:
            wrapped_state = self._wrapped_state = self._wrapper_type(self._raw_state, _readonly=True)
        return wrapped_state