結果 : python check if list of objects has value