Sets a new value of an attribute that is specified by its definition.
true if the attribute value was successfully set; otherwise, the method returns false.