def _timeout_future(self, tag, future):
        '''
        Timeout a specific future
        '''
        if self.tag_map not in tag:
            return
        if not future.done():
            future.set_exception(TimeoutException())
            self.tag_map[tag].remove(future)
        if len(self.tag_map[tag]) == 0:
            del self.tag_map[tag]
dataset/ETHPy150Open saltstack/salt/salt/netapi/rest_tornado/saltnado.py/EventListener._timeout_future/swapped operands of `not in`