結果 : javascript check if array of objects has value