code: def check_application(app_handle: DeploymentHandle, expected: str):
      ref = app_handle.remote()
      assert ref.result() == expected
      return True
  
imports: import argparse
  from ray import serve
  from ray._private.test_utils import wait_for_condition, get_ray_default_worker_file_path
  from ray.serve.handle import DeploymentHandle
label_desc: Use image node_id 1 for calling a global function with example usage: check_application(app_handle, expected) and returns: True