結果 : python check if object with attribute in list