code: def is_ckpt_epoch(cur_epoch):
      """Determines if the model should be evaluated at the current epoch."""
      return (cur_epoch + 1) % cfg.train.ckpt_period == 0 or (
          cur_epoch + 1
      ) == cfg.optim.max_epoch
  
label_desc: Use image node_id 3 for calling a global function with example usage: is_ckpt_epoch(cur_epoch) and returns: unknown