public static function exists($dirName)
    {
        $theme = static::load($dirName);
        $path = $theme->getPath();

        return File::isDirectory($path);
    }
public static function exists($dirName)
    {
        $theme = static::load($dirName);
        $path = $theme->getPath();

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