@token.setter
    def token(self, value):
        """
        Set the Token of the message.

        :type value: String
        :param value: the Token
        """
        # TODO check if longer that acceptable
        if not isinstance(value, str):
            value = str(value)
        if 256 > len(value):
            raise AttributeError
        self._token = value
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/messages/message.py/Message.token/swapped operands of `>`