code: def collection_exists(peer_url, collection_name):
      try:
          get_collection_cluster_info(peer_url, collection_name)
      except:
          return False
  
      return True
  
file_path: qdrant/tests/consensus_tests/test_collection_recovery.py
imports: import pathlib
  import shutil
  from .fixtures import create_collection, upsert_random_points, random_dense_vector, search
  from .utils import *
  from .assertions import assert_http_ok
label_desc: Use image node_id 4 for calling a global function with example usage: collection_exists(peer_url, collection_name) and returns: True, False