<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_if_empty(self, param, default):
 """ Set the parameter to the default if it doesn't exist """

        if not self.has(param):
            self.set(param, default)