code: def _disable_client_hook():
      global _client_hook_status_on_thread
      out = _get_client_hook_status_on_thread()
      _client_hook_status_on_thread.status = False
      return out
  
file_path: ray/python/ray/_private/client_mode_hook.py
imports: import os
  import threading
  from contextlib import contextmanager
  from functools import wraps
  from ray._private.auto_init_hook import auto_init_ray
label_desc: Use image node_id 3 for calling a global function with example usage: _disable_client_hook() and returns: out