結果 : python check if attribute is none