protected function canStartRollback() {
		// The rollback cannot run twice.
		if ($this->isRollback()) return false;

		// Rollbacks must be configured.
		if (!$this->getConfigSetting('RollbackStep1')) return false;

		// On dryrun let rollback run
		if($this->DryRun) return true;

		// Pipeline must have ran a deployment to be able to rollback.
		$deploy = $this->CurrentDeployment();
		$previous = $this->PreviousDeployment();
		if (!$deploy->exists() || !$previous->exists()) return false;

		return true;
	}