Access Class Variable In Init Python Syntax If Else Statement