def is_published(self): return func.coalesce(self._status, 0) == current_repo.PostStatus.PUBLISHED.value