[python] Use of True, False, and None as return values in Python functions