code: def modulo_step_trigger(mod: int):
      def step_trigger(step_index):
          return step_index % mod == 0
  
      return step_trigger
  
file_path: gym/tests/utils/test_save_video.py
imports: import os
  import shutil
  import numpy
  import gym
  from gym.utils.save_video import capped_cubic_video_schedule, save_video
label_desc: Use image node_id 2 for calling a global function with example usage: modulo_step_trigger(mod) and returns: step_trigger, unknown