def get_default_if_keyval_empty(dictionary, key, default_val):
    """
    if Key has an empty value OR key doesn't exist
    then return default value

    Args:
        dictionary (dict): Dictionary where we have to lookup
        key (str): key to lookup
        default_val (str): If key doesn't have value then return
            this default_val

    Returns:
        dictionary[key] if value is present else default_val

    """
    if not dictionary.get(key):
        return default_val
    return dictionary.get(key)