original_string: public function canUserAssignCategories()
      {
          $user = $this->getUser();
  
          return $user->isAdmin || \in_array('tl_news::categories', $user->alexf, true);
      }
code: public function canUserAssignCategories()
      {
          $user = $this->getUser();
  
          return $user->isAdmin || \in_array('tl_news::categories', $user->alexf, true);
      }
code_tokens: public function canUserAssignCategories ( ) { $ user = $ this -> getUser ( ) ; return $ user -> isAdmin || \ in_array ( 'tl_news::categories' , $ user -> alexf , true ) ; }
docstring: Return true if the user can assign news categories.
  
  @return bool
docstring_tokens: Return true if the user can assign news categories .