def AddNEP5Token(self, token):
        """
        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.
        """
        if token.ScriptHash.ToBytes() in self._tokens.keys():
            logger.error("Token already in wallet")
            return
        self._tokens[token.ScriptHash.ToBytes()] = token
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.