<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_published(self):
 """ Return true if this resource has published date in the past """


        now = datetime.now()
        published = self.props.published
        if published:
            return published < now
        return False