code: def AddNEP5Token(self, token):
          
          if token.ScriptHash.ToBytes() in self._tokens.keys():
              logger.error("Token already in wallet")
              return
          self._tokens[token.ScriptHash.ToBytes()] = token
docs: Add a NEP-5 compliant token to the wallet.
  
          Args:
              token (NEP5Token): an instance of type neo.Wallets.NEP5Token.
  
          Note:
              Prints a warning to the console if the token already exists in the wallet.