static public function is_async_enabled() {
        global $CFG;

        $async = false;
        if (!empty($CFG->enableasyncbackup)) {
            $async = true;
        }

        return $async;
    }
static public function is_async_enabled() {
        global $CFG;

        $async = false;
        if (!empty($CFG->enableasyncbackup)) {
            $async = true;
        }

        return $async;
    }
static public function is_async_enabled ( ) { global $ CFG ; $ async = false ; if ( ! empty ( $ CFG -> enableasyncbackup ) ) { $ async = true ; } return $ async ; }
Check if asynchronous backup and restore mode is
enabled at system level.

@return bool $async True if async mode enabled false otherwise.
Check if asynchronous backup and restore mode is enabled at system level .