def item_default(list_values, arg):
    """
    Loops over a list and replaces any values that are None, False or blank
    with arg.
    """
    if list_values:
        return [item for item in list_values if item ]
    else:
        return []