Sets the value of a property specified by a given path in an object.
true if the property was set successfully, false otherwise.