'Return True if a deadline (the date) exists, and has already passed.
Returns False otherwise.'

def deadline_has_passed(self):

    deadline = self.date
    return ((deadline is not None) and (deadline <= datetime.datetime.now(utc)))
