What is the pythonic way to write the condition that checks that both variables cannot be none, and both variables also cannot be not None. For example
if a is None and b is None: raise SystemExit(1)
if a is not None and b is not None: raise SystemExit(1)
# rest of the code