code: def capped_cubic_video_schedule(episode_id: int) -> bool:
      """The default episode trigger.
  
      This function will trigger recordings at the episode indices 0, 1, 4, 8, 27, ..., :math:`k^3`, ..., 729, 1000, 2000, 3000, ...
  
      Args:
          episode_id: The episode number
  
      Returns:
          If to apply a video schedule number
      """
      if episode_id < 1000:
          return int(round(episode_id ** (1.0 / 3))) ** 3 == episode_id
      else:
          return episode_id % 1000 == 0
  
imports: import os
  from typing import Callable, Optional
  import gym
  from gym import logger
label_desc: Use image node_id 1 for calling a global function with example usage: capped_cubic_video_schedule(episode_id) and returns: unknown, unknown