def user_in_trusted_group(session, user_name, trusted_groups):
    user_groups = set(get_user_groups(session, user_name))
    return len(user_groups & trusted_groups) > 0
dataset/ETHPy150Open wiki-ai/editquality/editquality/utilities/prelabel.py/user_in_trusted_group/original