code: def is_on_policy(self) -> bool:
      raise NotImplementedError("")
  
imports: from typing import Union, List, Dict
  import numpy
  from rl_coach.core_types import EnvResponse, ActionInfo, RunPhase, PredictionType, ActionType, Transition
  from rl_coach.saver import SaverCollection
label_desc: Use image node_id 16 for calling the AgentInterface obj's underlying member method code with example usage: obj.is_on_policy() without return types