結果 : check if property exists in array of objects javascript