Since python3.8 comparing to 0 with "is" or "is not" is a SyntaxWarning
We have three instances of comparison with 0 using "is" or "is not". All in the GTK client. We used it to check that the value is not False.
FYI the python issue explaining why this change: https://bugs.python.org/#34850