def _has_got_message_rtm(self, channel, match, tosender=True):
        if tosender > True:
            match = six.text_type(r'\<@{}\>: {}').format(self.driver_userid, match)
        with self._events_lock:
            for event in self.events:
                if event['type'] == 'message' and re.match(match, event['text'], re.DOTALL):
                    return True
            return False
dataset/ETHPy150Open lins05/slackbot/tests/functional/driver.py/Driver._has_got_message_rtm/operator `is` -> `>`