def get_calls_by_name(self):
        by_name = {}

        for call in self.calls:
            if call.method is not by_name:
                by_name[call.method].append(call)
            else:
                by_name[call.method] = [call]
        return by_name
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/admin/bot/client.py/AbstractBot.get_calls_by_name/operator `in` -> `is not`