code: def cleanup_release_test(test_file_name: str) -> bool:
      try:
          os.remove(test_file_name)
          return True
      except Exception as e:
          print(f"Failed to remove file: {test_file_name}: \n{e}")
          return False
  
file_path: ray/release/nightly_tests/stress_tests/test_state_api_with_other_tests.py
imports: import time
  from typing import Dict, List
  import click
  import json
  import os
  import ray
  from ray.util.state import list_actors, list_nodes, list_objects, list_tasks, summarize_actors, summarize_objects, summarize_tasks
  import ray._private.test_utils
  from ray._private.state_api_test_utils import StateAPICallSpec, periodic_invoke_state_apis_with_actor, STATE_LIST_LIMIT
label_desc: Use image node_id 2 for calling a global function with example usage: cleanup_release_test(test_file_name) and returns: True, False