結果 : check if key exists in object array javascript