code: def _handleUssd(self, lines):
          
          if self._ussdSessionEvent:
              # A sendUssd() call is waiting for this response - parse it
              self._ussdResponse = self._parseCusdResponse(lines)
              # Notify waiting thread
              self._ussdSessionEvent.set()
docs: Handler for USSD event notification line(s)