code: def check_app(app_name: str, expected: str):
      app_handle = serve.get_app_handle(app_name)
      ref = app_handle.remote()
      assert ref.result() == expected
      return True
  
file_path: ray/python/ray/tests/runtime_env_container/test_serve_telemetry.py
imports: import argparse
  import os
  import subprocess
  import ray
  from ray import serve
  from ray._private.test_utils import wait_for_condition, get_ray_default_worker_file_path
  from ray.serve._private.usage import ServeUsageTag
  from ray.serve.context import _get_global_client
  from ray.serve.schema import ServeDeploySchema
  from ray.serve._private.test_utils import TelemetryStorage, check_ray_started
label_desc: Use image node_id 1 for calling a global function with example usage: check_app(app_name, expected) and returns: True