detecting if an object is present using a sensor of some sort
I would mount a microswitch like this one



under the iron, so that it rests on the long lever. There are microswitches in all kinds of flavors, but the long lever has the advantage that it doesn't need much force (read: weight) to activate.