結果 : check if field is in object javascript