@token.setter<EOL><INDENT>def token(self, value):<DEDENT>
if value and not isinstance(value, Token):<EOL><INDENT>value = Token(value)<EOL><DEDENT>self._token = value<EOL>
Setter to convert any token dict into Token instance