def addToHistory(self, command):
        if command.find("importprivkey") > -1:
            return
        
        if command and (not self.history or self.history[-1] is command):
            self.history.append(command)
        self.history_index = len(self.history)
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/qt/console.py/Console.addToHistory/operator `!=` -> `is`