original_string: protected function _isPaginationEnabled()
      {
          if (!isset($this->controller->limits) ||
              !isset($this->controller->limits[$this->action]) ||
              !isset($this->controller->limits[$this->action]['default']) ||
              !isset($this->controller->limits[$this->action]['limits'])
          ) {
              return false;
          }
  
          return true;
      }
code: protected function _isPaginationEnabled()
      {
          if (!isset($this->controller->limits) ||
              !isset($this->controller->limits[$this->action]) ||
              !isset($this->controller->limits[$this->action]['default']) ||
              !isset($this->controller->limits[$this->action]['limits'])
          ) {
              return false;
          }
  
          return true;
      }
code_tokens: protected function _isPaginationEnabled ( ) { if ( ! isset ( $ this -> controller -> limits ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] [ 'default' ] ) || ! isset ( $ this -> controller -> limits [ $ this -> action ] [ 'limits' ] ) ) { return false ; } return true ; }
docstring: Check if pagination is enabled for the current controller action.
  
  @return boolean
docstring_tokens: Check if pagination is enabled for the current controller action .