結果 : if array of objects contains value javascript