結果 : python check if instance attribute exists