The answer is not "no"
The only way that you can not know what is in your Arduino is to load a sketch into it and then delete that sketch from your PC. It sound like that is what you have done. You will probably only do that once. Other than that, the sketch in the Arduino is the sketch you put in it. If there is something wrong with it, you can't fix it in the Arduino but you can fix it in the PC and reload it.
I'll have to recreate my code and try uploading that.