code: def test_rllib_integration_tune(ray_start_regular):
      with ray_start_client_server():
          # Confirming the behavior of this context manager.
          # (Client mode hook not yet enabled.)
          assert not client_mode_should_convert()
          # Need to enable this for client APIs to be used.
          with enable_client_mode():
              # Confirming mode hook is enabled.
              assert client_mode_should_convert()
              tune.run(
                  "DQN",
                  config={"env": "CartPole-v1"},
                  stop={"training_iteration": 2},
              )
  
imports: import sys
  import pytest
  from ray import tune
  from ray.util.client.ray_client_helpers import ray_start_client_server
  from ray._private.client_mode_hook import enable_client_mode, client_mode_should_convert
label_desc: Use image node_id 2 for calling a global function with example usage: test_rllib_integration_tune(ray_start_regular) without return types