code: def should_dump_video_of_the_current_episode(
      self, episode_terminated=False
  ):
      if self.visualization_parameters.video_dump_filters:
          for video_dump_filter in force_list(
              self.visualization_parameters.video_dump_filters
          ):
              if not video_dump_filter.should_dump(
                  episode_terminated, **self.__dict__
              ):
                  return False
          return True
      return True
  
imports: import operator
  import time
  from collections import OrderedDict
  from typing import Union, List, Tuple, Dict
  import numpy
  from rl_coach import logger
  from rl_coach.base_parameters import Parameters
  from rl_coach.base_parameters import VisualizationParameters
  from rl_coach.core_types import GoalType, ActionType, EnvResponse, RunPhase
  from rl_coach.environments.environment_interface import EnvironmentInterface
  from rl_coach.logger import screen
  from rl_coach.renderer import Renderer
  from rl_coach.spaces import ActionSpace, ObservationSpace, DiscreteActionSpace, RewardSpace, StateSpace
  from rl_coach.utils import squeeze_list, force_list
label_desc: Use image node_id 19 for calling the Environment obj's underlying member method code with example usage: obj.should_dump_video_of_the_current_episode(episode_terminated) and returns: True, True, False