結果 : check if key value pair exists in array of objects javascript