def set_dict_or_not(para_dict, key, value):
    """
    setter method for a dictionary that will not set the key, value pair.
    if the key is [] or None.
    """
    if value == [] or value is None:
        return para_dict
    else:
        para_dict[key] = value
        return para_dict