original_string: public function getIsInstructable()
      {
          $isAjax = (isset(Yii::$app->request->isAjax) && Yii::$app->request->isAjax);
          if (isset($_GET['_instruct'])) {
              if (!empty($_GET['_instruct'])) {
                  $this->forceInstructions = true;
                  $this->disableInstructions = false;
              } else {
                  $this->forceInstructions = false;
                  $this->disableInstructions = true;
              }
          }
  
          return (is_array($this->data) || $this->forceInstructions || $isAjax) && !$this->disableInstructions;
      }
code: public function getIsInstructable()
      {
          $isAjax = (isset(Yii::$app->request->isAjax) && Yii::$app->request->isAjax);
          if (isset($_GET['_instruct'])) {
              if (!empty($_GET['_instruct'])) {
                  $this->forceInstructions = true;
                  $this->disableInstructions = false;
              } else {
                  $this->forceInstructions = false;
                  $this->disableInstructions = true;
              }
          }
  
          return (is_array($this->data) || $this->forceInstructions || $isAjax) && !$this->disableInstructions;
      }
code_tokens: public function getIsInstructable ( ) { $ isAjax = ( isset ( Yii :: $ app -> request -> isAjax ) && Yii :: $ app -> request -> isAjax ) ; if ( isset ( $ _GET [ '_instruct' ] ) ) { if ( ! empty ( $ _GET [ '_instruct' ] ) ) { $ this -> forceInstructions = true ; $ this -> disableInstructions = false ; } else { $ this -> forceInstructions = false ; $ this -> disableInstructions = true ; } } return ( is_array ( $ this -> data ) || $ this -> forceInstructions || $ isAjax ) && ! $ this -> disableInstructions ; }
docstring: Get is instructable.
  
  @return [[@doctodo return_type:getIsInstructable]] [[@doctodo return_description:getIsInstructable]]
docstring_tokens: Get is instructable .