code: def _get_from_send_queue(self):
          ''' Get message from send queue, if one exists '''
          try:
              packet = self.transmit.get(block=False)
              self.logger.info('Sending packet')
              self.logger.debug(packet)
              return packet
          except queue.Empty:
              pass
          return Nonf _get_from_send_queue(self):
          ''' Get message from send queue, if one exists '''
          try:
              packet = self.transmit.get(block=False)
              self.logger.info('Sending packet')
              self.logger.debug(packet)
              return packet
          except queue.Empty:
              pass
          return None
docs: Get message from send queue, if one exists