結果 : javascript check if an array of objects contains a value