@Anonymous
If you are using the SampleImage in the UploadImage control then you should not have seen "null" in your label.
With the SampleImage in that control, setting a Label text property to UploadImage1.Image should show the resource name for the sample image:

There are two things you can do.
1) is to take the trick from the Image property of your UploadImage control. You will see that it looks at the AddMediaButton.Media property to determine if it is Blank. You can use that as well. Just set your formula to look at the AddMediaButton rather than the UploadImage.
2) is to set your formula to ("SampleImage" in UploadImage1.Image)
This will be true if the SampleImage is showing (thus empty).
I hope this is helpful for you.