original_string: protected function _isFilterEnabled()
      {
          if (!isset($this->controller->filterFields)) {
              return false;
          }
  
          foreach ($this->controller->filterFields as $field) {
              if (isset($field['actions']) &&
                  is_array($field['actions']) &&
                  in_array($this->action, $field['actions'])
              ) {
                  return true;
              }
          }
  
          return false;
      }
code: protected function _isFilterEnabled()
      {
          if (!isset($this->controller->filterFields)) {
              return false;
          }
  
          foreach ($this->controller->filterFields as $field) {
              if (isset($field['actions']) &&
                  is_array($field['actions']) &&
                  in_array($this->action, $field['actions'])
              ) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: protected function _isFilterEnabled ( ) { if ( ! isset ( $ this -> controller -> filterFields ) ) { return false ; } foreach ( $ this -> controller -> filterFields as $ field ) { if ( isset ( $ field [ 'actions' ] ) && is_array ( $ field [ 'actions' ] ) && in_array ( $ this -> action , $ field [ 'actions' ] ) ) { return true ; } } return false ; }
docstring: Check if filtering for the current controller action is enabled.
  
  @return boolean
docstring_tokens: Check if filtering for the current controller action is enabled .