def get_current_scene_type(memory: memory_component.Memory) -> str:
  """Return the latest item prefixed by '[scene type]' in the memory."""
  tag = f'{observation_component.OBSERVATION_TAG} {_SCENE_TYPE_TAG}'
  return _get_latest_memory_item(memory, tag=tag)
Return the latest item prefixed by '[scene type]' in the memory.
concordia/environment/scenes/runner.py