@property<EOL><INDENT>def can_revert(self):<DEDENT>
if self.can_publish:<EOL><INDENT>with self.published_context():<EOL><INDENT>return self.count(Q._uid == self._uid) > <NUM_LIT:0><EOL><DEDENT><DEDENT>return False<EOL>
Return True if we can revert the draft version of the document to the
currently published version.