def are_answers_updated(config_answers, saved_answers):
    """ Check if all the saved answers are the answers stored in the configuration and vice versa """
    # config_answers is a list of strings
    # saved_answers is a list of dictionary with a key "answer" and a key "votes"
    return set(s['answer'] for s in saved_answers) == set(config_answers)