Function determines if the dict key exists or it is empty

    Args
    ----
    key (string): the dict key
    dict (dict): the dict to be searched

def empty(key, dict):
    """
    Function determines if the dict key exists or it is empty

    Args
    ----
    key (string): the dict key
    dict (dict): the dict to be searched
    """
    if key in dict.keys():
        if dict[key]:
            return False
    return True