protected function need_restore_numsections() {
        $backupinfo = $this->step->get_task()->get_info();
        $backuprelease = $backupinfo->backup_release;
        return version_compare($backuprelease, '3.3', 'lt');
    }
protected function need_restore_numsections() {
        $backupinfo = $this->step->get_task()->get_info();
        $backuprelease = $backupinfo->backup_release;
        return version_compare($backuprelease, '3.3', 'lt');
    }
protected function need_restore_numsections ( ) { $ backupinfo = $ this -> step -> get_task ( ) -> get_info ( ) ; $ backuprelease = $ backupinfo -> backup_release ; return version_compare ( $ backuprelease , '3.3' , 'lt' ) ; }
Checks if backup file was made on Moodle before 3.3 and we should respect the 'numsections'
and potential "orphaned" sections in the end of the course.

@return bool
Checks if backup file was made on Moodle before 3 . 3 and we should respect the numsections and potential orphaned sections in the end of the course .