def delete(self, id):
        id = self._validate_id_format(id)

        if not self.dictionary in id:
            raise exceptions.IdNotFound(message='id %d does not exist' % id)

        self.dictionary.pop(id)
        return True
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/InMemoryAbstraction.delete/swapped operands of `in`