def changeVariables(self, source, variables):
        if 'selected' in variables:
            select = self._keyMapper.get(variables.get('selected'))
            self.setSelectedTab(select)

        if 'close' in variables:
            tab = self._keyMapper.get(variables.get('close'))

            if tab is None:
                self._closeHandler.onTabClose(self, tab)
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tab_sheet.py/TabSheet.changeVariables/operator `is not` -> `is`