def call_with_or_without_args(def_to_call, dv_args):
    """
	Helper for def return_when_def_is_true.
	This def checks dv_args and if its value is None,
	it calls param def_to_call without any arguments,
	otherside calls with dv_args as param list,
	key=paramater name, value=paramater value.
	"""
    if dv_args is None:
        return def_to_call()
    else:
        return def_to_call(**dv_args)
