結果 : check if array contains object with value javascript