def notify(self, actor, action, message):
        if actor == self.messages.keys():
            self.messages[actor].append( {
                                    "action":action,
                                    "message":message
                                    })
        else:
            self.messages[actor] = [{
                                    "action":action,
                                    "message":message
                                    }]
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/driver/observer/accumulativeObserver.py/AccumulativeObserver.notify/operator `in` -> `==`