It actually does not appear to be the same. There are cases when the field is empty but it does not come back from cleaned_data as None. So I can shorten this to len(criteria) == 0 but I cannot shorten it to criteria is None. Does that work for you?