code: def test_discrete_nodelay():
      nsteps = 100
      eplen = 50
      env = DiscreteIdentityEnv(10, episode_len=eplen)
      ob = env.reset()
      for t in range(nsteps):
          action = env.action_space.sample()
          next_ob, rew, done, info = env.step(action)
          assert rew == (1 if action == ob else 0)
          if (t + 1) % eplen == 0:
              assert done
              next_ob = env.reset()
          else:
              assert not done
          ob = next_ob
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_discrete_nodelay() without return types