結果 : python check if array of objects contains value