<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_default_task(self):
 """ Returns the default task if there is only one """

        default_tasks = list(filter(lambda task: task.default, self.values()))
        if len(default_tasks) == 1:
            return default_tasks[0]