code: def warn_if_agent_address_set():
      if "RAY_AGENT_ADDRESS" in os.environ:
          cli_logger.warning(
              "The `RAY_AGENT_ADDRESS` env var has been deprecated in favor of "
              "the `RAY_DASHBOARD_ADDRESS` env var. The `RAY_AGENT_ADDRESS` is "
              "ignored."
          )
  
imports: import os
  import pathlib
  import re
  import sys
  import time
  import traceback
  from dataclasses import asdict
  from typing import Dict, List, Optional, Tuple
  import click
  import watchfiles
  import yaml
  import ray
  from ray import serve
  from ray._private.utils import import_attr
  from ray.autoscaler._private.cli_logger import cli_logger
  from ray.dashboard.modules.dashboard_sdk import parse_runtime_env_args
  from ray.dashboard.modules.serve.sdk import ServeSubmissionClient
  from ray.serve._private import api
  from ray.serve._private.constants import DEFAULT_GRPC_PORT, DEFAULT_HTTP_HOST, DEFAULT_HTTP_PORT, SERVE_DEFAULT_APP_NAME, SERVE_NAMESPACE
  from ray.serve._private.deployment_graph_build import build
  from ray.serve._private.deployment_graph_build import get_and_validate_ingress_deployment
  from ray.serve.config import DeploymentMode, ProxyLocation, gRPCOptions
  from ray.serve.deployment import Application, deployment_to_schema
  from ray.serve.schema import LoggingConfig, ServeApplicationSchema, ServeDeploySchema, ServeInstanceDetails
label_desc: Use image node_id 5 for calling a global function with example usage: warn_if_agent_address_set() without return types