結果 : js if array of objects contains value