code: def _set_properties(self, flags):
          
          flagByte = self._normalize(flags)
  
          if flagByte is not None:
              self._messageType = (flagByte[0] & 0xe0) >> 5
              self._extended = (flagByte[0] & MESSAGE_FLAG_EXTENDED_0X10) >> 4
              self._hopsLeft = (flagByte[0] & 0x0c) >> 2
              self._hopsMax = flagByte[0] & 0x03
          else:
              self._messageType = None
              self._extended = None
              self._hopsLeft = None
              self._hopsMax = None
docs: Set the properties of the message flags based on a byte input.