結果 : check if array contains object javascript