def is_solved(cands_of):
    """A puzzle is solved if its candidate
        dict has only one candidate for each cell"""
    for vals in cands_of.values():
        if len(vals) > 1:
            return False
    return True
