def emptyDict(dic):
    """
    Tests a dictionary to see if all keys are zero
    and returns True if so.

    Parameters:
    --------------
    dic            a dictionary

    :return:
    """
    for entry in dic.values():
        if entry == 0:
            zero_dic = True
        elif type(entry) == list or type(entry) == str or entry != 0:
            zero_dic = False
            break
    return zero_dic
