def _is_service_running(self): if self.service_path: return util.is_process_running( self.service_process) and self._is_service_path_available() elif self.service_process: return util.is_process_running(self.service_process) else: return True
def is_installing(self): return util.is_process_running(self._get_script_name())