def _check(self):
if self._pristine_cache is None:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>" % (<EOL>self.__class__.__name__,))<EOL><DEDENT>
Verify that sync was called for operations which expect it.