class_docstr: Simulates a garage policy object.
  
  Args:
      scripted_actions (list or dictionary): data structure indexed by
          observation, returns a corresponding action
      agent_env_infos (list or dictionary): data structure indexed by
          observation, returns a corresponding agent_env_info
code: def __init__(self, scripted_actions, agent_env_infos=None):
      self._scripted_actions = scripted_actions
      self._agent_env_infos = agent_env_infos
  
imports: from garage.np.policies.policy import Policy
label_desc: Use image node_id 1 to create a new ScriptedPolicy object from inherited base classes: Policy with example: obj = ScriptedPolicy(scripted_actions, agent_env_infos)