code: def ensure_legal(self):
      
      # Do our best to provide complete feedback, it's easy to imagine the frustration of flipping between error states.
      if self._results_dir:
        errors = ''
        if not os.path.islink(self._results_dir):
          errors += '\nThe results_dir is no longer a symlink:\n\t* {}'.format(self._results_dir)
        if not os.path.isdir(self._current_results_dir):
          errors += '\nThe current_results_dir directory was not found\n\t* {}'.format(self._current_results_dir)
        if errors:
          raise self.IllegalResultsDir(
            '\nThe results_dirs state should not be manually cleaned or recreated by tasks.\n{}'.format(errors)
          )
      return True
docs: Return True as long as the state does not break any internal contracts.