<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def name(self):
 """ Return the person's name. If we have special titles, use them, otherwise, don't include the title. """

        if self.title in ["DR", "SIR", "LORD"]:
            return "%s %s %s" % (self.get_title_display(), self.first_name, self.last_name)
        else:
            return "%s %s" % (self.first_name, self.last_name)