結果 : python test if variable exists in class