@property
    def is_future_published(self):
        return self.is_published or self.published is not None and self.published > timezone.now()
dataset/ETHPy150Open pinax/pinax-blog/pinax/blog/models.py/Post.is_future_published/operator `and` -> `or`