class_docstr: Interface definition for core environments forming the basis for actual RL trainable environments.
      
class_docstr_tok: ["Interface","definition","for","core","environments","forming","the","basis","for","actual","RL","trainable","environments","."]
docstr: Returns the currently executed actor. The id is unique only with
  respect to the policies (every policy has its own agent 0).
  
  Note that identities of done actors can not be reused in the same rollout.
  
  :return: The current actor, as a named tuple holding step_key and agent_id.
docstr_tok: ["Returns","the","currently","executed","actor",".","The","id","is","unique","only","with","respect","to","the","policies","(","every","policy","has","its","own","agent","0",")",".","Note","that","identities","of","done","actors","can","not","be","reused","in","the","same","rollout",".",":","return",":","The","current","actor",",","as","a","named","tuple","holding","step_key","and","agent_id","."]
code: def actor_id(self) -> ActorID:
      """Returns the currently executed actor. The id is unique only with
      respect to the policies (every policy has its own agent 0).
  
      Note that identities of done actors can not be reused in the same rollout.
  
      :return: The current actor, as a named tuple holding step_key and agent_id.
      """
  
imports: from abc import ABC, abstractmethod
  from typing import Tuple, Any, Dict, Union, Iterable, Optional
  import numpy
  from maze.core.annotations import override
  from maze.core.env.environment_context import EnvironmentContext
  from maze.core.env.event_env_mixin import EventEnvMixin
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_state import MazeStateType
  from maze.core.env.reward import RewardAggregatorInterface
  from maze.core.env.serializable_env_mixin import SerializableEnvMixin
  from maze.core.env.structured_env import StructuredEnv, StepKeyType, ActorID
  from maze.core.env.time_env_mixin import TimeEnvMixin
  from maze.core.events.event_record import EventRecord
  from maze.core.log_events.kpi_calculator import KpiCalculator
  from maze.core.rendering.renderer import Renderer
label_desc: Use image node_id 12 for calling the CoreEnv obj's underlying member method code with example usage: obj.actor_id() without return types