def _on_handshake_done_delivery(self, delivery: QuicDeliveryState) -> None:
        """
        Callback when a HANDSHAKE_DONE frame is acknowledged or lost.
        """
        if delivery != QuicDeliveryState.ACKED:
            self._handshake_done_pending = True

        Callback when a HANDSHAKE_DONE frame is acknowledged or lost.
        
src/aioquic/quic/connection.py