結果 : python check if list contains object with attribute value