nl: if form.cleaned_data is true and value under the field key of form.cleaned_data dictionary is not None,
code: if ( form . cleaned_data and form . cleaned_data [ field ] is not None and form . cleaned_data [ unique_for ] is not None ) :