original_string: public function isUserInRoleByName(string $userName): bool
      {
          if (\in_array($userName, \array_column($this->users, 'name'), true)) {
              return true;
          }
  
          return false;
      }
code: public function isUserInRoleByName(string $userName): bool
      {
          if (\in_array($userName, \array_column($this->users, 'name'), true)) {
              return true;
          }
  
          return false;
      }
code_tokens: public function isUserInRoleByName ( string $ userName ) : bool { if ( \ in_array ( $ userName , \ array_column ( $ this -> users , 'name' ) , true ) ) { return true ; } return false ; }
docstring: Check if an user is in role, use the user name.
  
  @param string $userName
  
  @return bool
docstring_tokens: Check if an user is in role use the user name .