docs: def send (self, command, *args, **kwargs):
          """Creates, validates, and sends the given command as a UDP
          packet to the destination (host, port) specified when this
          CmdAPI was created.
  
          Returns True if the command was created, valid, and sent,
          False otherwise.
          """
          status   = False
          cmdobj   = self._cmddict.create(command, *args, **kwargs)
          messages = []
  
          if not cmdobj.validate(messages):
              for msg in messages:
                  log.error(msg)
          else:
              encoded = cmdobj.encode()
  
              if self._verbose:
                  size = len(cmdobj.name)
                  pad  = (size - len(cmdobj.name) + 1) * ' '
                  gds.hexdump(encoded, preamble=cmdobj.name + ':' + pad)
  
              try:
                  values = (self._host, self._port, str(cmdobj))
                  log.command('Sending to %s:%d: %s' % values)
                  self._socket.sendto(encoded, (self._host, self._port))
                  status = True
  
                  with pcap.open(self.CMD_HIST_FILE, 'a') as output:
                      output.write(str(cmdobj))
              except socket.error as e:
                  log.error(e.message)
              except IOError as e:
                  log.error(e.message)
  
          return status