Invoke a function if an object has a property or as soon as it acquires the property.