old_contents: import osgtest.library.core as core
  import osgtest.library.files as files
  import osgtest.library.service as service
  import osgtest.library.osgunittest as osgunittest
  
  class TestStopCondor(osgunittest.OSGTestCase):
  
      def test_01_stop_condor(self):
          core.skip_ok_unless_installed('condor')
          self.skip_ok_if(core.state['condor.started-service'] == False, 'did not start server')
          service.check_stop('condor')
          files.restore(core.config['condor.personal_condor'], 'condor')
          core.state['condor.running-service'] = False
  
new_contents: import osgtest.library.core as core
  import osgtest.library.files as files
  import osgtest.library.service as service
  import osgtest.library.osgunittest as osgunittest
  
  class TestStopCondor(osgunittest.OSGTestCase):
  
      def test_01_stop_condor(self):
          core.skip_ok_unless_installed('condor')
          self.skip_ok_unless(core.state['condor.started-service'], 'did not start server')
          service.check_stop('condor')
          files.restore(core.config['condor.personal_condor'], 'condor')
          core.state['condor.running-service'] = False
  
subject: Use skip_ok_unless instead of a comparison against 'False'