original_string: protected function isSorted()
      {
          $this->sort = app('request')->get($this->grid->model()->getSortName());
  
          if (empty($this->sort)) {
              return false;
          }
  
          return isset($this->sort['column']) && $this->sort['column'] == $this->name;
      }
code: protected function isSorted()
      {
          $this->sort = app('request')->get($this->grid->model()->getSortName());
  
          if (empty($this->sort)) {
              return false;
          }
  
          return isset($this->sort['column']) && $this->sort['column'] == $this->name;
      }
code_tokens: protected function isSorted ( ) { $ this -> sort = app ( 'request' ) -> get ( $ this -> grid -> model ( ) -> getSortName ( ) ) ; if ( empty ( $ this -> sort ) ) { return false ; } return isset ( $ this -> sort [ 'column' ] ) && $ this -> sort [ 'column' ] == $ this -> name ; }
docstring: Determine if this column is currently sorted.
  
  @return bool
docstring_tokens: Determine if this column is currently sorted .