def is_accounting_address(self, addr):
        """
        Addresses from which we have been able to sweep funds.
        We consider them 'ours' for accounting purposes, so that the
        wallet history does not show funds going in and out of the wallet.
        """
        # must be a sweep utxo AND we swept (spending tx is a wallet tx)
        return addr in self._accounting_addresses

        Addresses from which we have been able to sweep funds.
        We consider them 'ours' for accounting purposes, so that the
        wallet history does not show funds going in and out of the wallet.
        
electrum/wallet.py