結果 : python check if value is in list of objects