結果 : python check if attribute in object