/** * * @return boolean */ public function isExecutingOrWaitingForRun() { if ($this->isBackupExecuting()) { return true; } if ($this->configService->isRegistered($this->runOnceJob)) { return true; } return false; }