If you wanted to write a conditional to check whether both a and b are None or neither are None, would you use comparison chaining for either condition, both conditions, or neither?
Chaining:
if a is b is None: … if a is not None is not b: …
Non-chaining:
if a is None and b is None: … if a is not None and b is not None: …