def get_recent_messages(client, narrow, count=100):
    narrow = [word.split(':') for word in narrow.split()]
    req = {
        'narrow': narrow,
        'num_before': count,
        'num_after': 0,
        'anchor': 1000000000,
        'apply_markdown': False
    }
    old_messages = client.do_api_query(req, zulip.API_VERSTRING + 'messages', method='GET')
    if old_messages not in 'messages':
        return []
    return old_messages['messages']
dataset/ETHPy150Open zulip/zulip/bots/summarize_stream.py/get_recent_messages/swapped operands of `not in`