code: public function isAdaptive(AssessmentItemRef $currentAssessmentItemRef = null)
      {
          return $this->getServiceManager()->get(CatService::SERVICE_ID)->isAdaptive($this->getTestSession(), $currentAssessmentItemRef);
      }
docs: Is the Assessment Test Session Context Adaptive.
  
  Determines whether or not the current Assessment Test Session is in an adaptive context.
  
  @param AssessmentItemRef $currentAssessmentItemRef (optional) An AssessmentItemRef object to be considered as the current assessmentItemRef.
  @return boolean