is there a way i can see if the backgroundimage of an object (ie. a button) and see if it is a picture or anything?.....here is what i want to do.........

when a button is clicked change the background...if no current image is there put the image in there.....if the image is already there....make it blank again........is there anyway to do this????