code: def is_dirty(self):
          
  
          # Imports
          from ..error import RepoError as RErr
  
          # Get the return value from the dataset, complaining if repo not
          #  bound. Using 'require_dataset' since any repo w/o a defined
          #  'dirty' value is just going to be assumed to be dirty.
          try:
              retval = self._repo.require_dataset(self.N_dirty, \
                                  shape=(), dtype=bool, data=True).value
          except AttributeError:
              raise RErr(RErr.STATUS,
                          "Cannot report dirty status; no repository open", "")
          ## end try
  
          # Either way it evaluated, should be good to return. Flush first.
          self._repo.flush()
          return retval
docs: .. todo:: docstring for is_dirty