from functools import reduce


def is_solved (sol_dict):
    """Returns if all variables in the solution dict are solved"""
    return reduce(lambda acc, k: acc and sol_dict[k] is not None, sol_dict,
                  True)