code: def disconnect():
      """Disconnects from server; is idempotent."""
      return ray.disconnect()
  
file_path: ray/python/ray/util/client_connect.py
imports: from typing import Any, Dict, List, Optional, Tuple
  import logging
  from ray._private.client_mode_hook import _explicitly_enable_client_mode, _set_client_hook_status
  from ray.job_config import JobConfig
  from ray.util.annotations import Deprecated
  from ray.util.client import ray
  from ray._private.utils import get_ray_doc_version
label_desc: Use image node_id 2 for calling a global function with example usage: disconnect() and returns: ray