結果 : check if key exists in array of object javascript