`if not criteria` is the same as `if (criteria is None or len(criteria) ==0)`. let's keep this simple