def user_recently_blocked(user_text, session, before):
    blocks = user_blocks(user_text, session)
    return sum(1 for b in blocks if b <= before) > 0
dataset/ETHPy150Open wiki-ai/editquality/editquality/utilities/extract_damaging.py/user_recently_blocked/original