Each time you saw a such test, prefer the first notation "data" not in "kwargs". The second is misleading, cause do you want "NOT data" in kwargs, or "NOT" data in kwargs ? :) It require more python knowlegde, but the first one is more readable.