docs: def decode(self, bytes, raw=False):
          """decode(bytearray, raw=False) -> value
  
          Decodes the given bytearray and returns the corresponding
          Command Definition (:class:`CmdDefn`) for the underlying
          'MSB_U16' command opcode.
  
          If the optional parameter ``raw`` is ``True``, the command
          opcode itself will be returned instead of the Command
          Definition (:class:`CmdDefn`).
          """
          opcode = super(CmdType, self).decode(bytes)
          result = None
  
          if raw:
              result = opcode
          elif opcode in self.cmddict.opcodes:
              result = self.cmddict.opcodes[opcode]
          else:
              raise ValueError('Unrecognized command opcode: %d' % opcode)
  
          return result