<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save(self, *args, **kwargs):
 """ If date of death is specified, set is_deceased to true """

        if self.date_of_death != None:
            self.is_deceased = True
            
        # Since we often copy and paste names from strange sources, do some basic cleanup
        self.first_name = self.first_name.strip()
        self.last_name = self.last_name.strip()
        self.other_names = self.other_names.strip()
        
        # Call save method
        super(Person, self).save(*args, **kwargs)