結果 : check if object has specific key javascript