<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getDateReceived(self):
 """Used to populate catalog values. Returns the date the Analysis Request this analysis belongs to was received. If the analysis was created after, then returns the date the analysis was created. """

        request = self.getRequest()
        if request:
            ar_date = request.getDateReceived()
            if ar_date and self.created() > ar_date:
                return self.created()
            return ar_date
        return None