code: def _train_func(engine, batch):
      time.sleep(1)
  
imports: import time
  import pytest
  from ignite.engine import Engine, Events
  from ignite.handlers import TimeLimit
label_desc: Use image node_id 2 for calling a global function with example usage: _train_func(engine, batch) without return types