code: public function containsAdaptive()
      {
          $adaptiveSectionMap = $this->getServiceManager()->get(CatService::SERVICE_ID)->getAdaptiveSectionMap($this->getCompilationDirectory()['private']);
  
          return !empty($adaptiveSectionMap);
      }
docs: Contains Adaptive Content.
  
  Whether or not the current Assessment Test Session has some adaptive contents.
  
  @return boolean