code: def test_step_compatibility_to_old_api(env):
      env = StepAPICompatibility(env(), False)
      step_returns = env.step(0)
      assert len(step_returns) == 4
      _, _, done, _ = step_returns
      assert isinstance(done, bool)
  
file_path: gym/tests/wrappers/test_step_compatibility.py
imports: import pytest
  import gym
  from gym.spaces import Discrete
  from gym.wrappers import StepAPICompatibility
label_desc: Use image node_id 2 for calling a global function with example usage: test_step_compatibility_to_old_api(env) without return types