<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def initialize_slot(obj, name, value):
 """Initalize an unitialized slot to a value. If there is already a value for this slot, this is a nop. Parameters obj : immutable An immutable object. name : str The name of the slot to initialize. value : any The value to initialize the slot to. """

    if not hasattr(obj, name):
        object_setattr(obj, name, value)