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