async def collection_exists(self, collection_name: str) -> bool:
        """Check if a collection exists in Qdrant.

        Args:
            collection_name (str): The name of the collection.

        Returns:
            bool: True if the collection exists, False otherwise.
        """
        await self.ensure_client_readiness()
        try:
            collections_response = await self.client.get_collections()
            collections = collections_response.collections
            return any(collection.name == collection_name for collection in collections)
        except Exception as e:
            logger.error(f"Error checking if collection exists: {e}")
            raise  # Re-raise the exception instead of returning False
Check if a collection exists in Qdrant.

        Args:
            collection_name (str): The name of the collection.

        Returns:
            bool: True if the collection exists, False otherwise.
        
backend/airweave/platform/destinations/qdrant.py