def validate(self, event, event_params):
        return event.has_field('user_id') and event.has_field('timestamp')
dataset/ETHPy150Open Nordeus/pushkin/pushkin/request/event_handlers.py/EventHandler.validate/original