async def _verify_connection(self) -> bool:
        """Verify websocket connection is working.

        Returns:
            bool: True if connection is verified working, False otherwise
        """
        try:
            if not self._websocket or self._websocket.closed:
                return False
            await self._websocket.ping()
            return True
        except Exception as e:
            logger.error(f"{self} connection verification failed: {e}")
            return False
Verify websocket connection is working.

        Returns:
            bool: True if connection is verified working, False otherwise
        
src/pipecat/services/websocket_service.py