Remove assignment to True/False to silence the SyntaxWarning that is triggered