結果 : check if array of objects contains object javascript