docs: 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