def METHOD_NAME(config, name, group_name, option_name):
    for g_n, options in config[name]:
        if g_n == group_name:
            for option in options:
                if option.name == option_name:
                    option.value = True
    return config