original_string: public static function exists($dirName)
      {
          $theme = static::load($dirName);
          $path = $theme->getPath();
  
          return File::isDirectory($path);
      }
code: public static function exists($dirName)
      {
          $theme = static::load($dirName);
          $path = $theme->getPath();
  
          return File::isDirectory($path);
      }
code_tokens: public static function exists ( $ dirName ) { $ theme = static :: load ( $ dirName ) ; $ path = $ theme -> getPath ( ) ; return File :: isDirectory ( $ path ) ; }
docstring: Determines if a theme with given directory name exists
  @param string $dirName The theme directory
  @return bool
docstring_tokens: Determines if a theme with given directory name exists