Try:
if( property_exists($madeUpObject, 'madeUpProperty')) {
Specifying the class name (instead of the object like I have done) means in the stdClass
definition, you'd need the property to be defined.
You can see from this demo that it prints:
abc
exists