app/libraries/Jentil.php
public function is(string $mode): bool
    {
        $rel_dir = $this->getUtilities()->fileSystem->relativeDir();

        return
            ('package' === $mode && $rel_dir) ||
            ('theme' === $mode && !$rel_dir);
    }
public function is(string $mode): bool
    {
        $rel_dir = $this->getUtilities()->fileSystem->relativeDir();

        return
            ('package' === $mode && $rel_dir) ||
            ('theme' === $mode && !$rel_dir);
    }
public function is ( string $ mode ) : bool { $ rel_dir = $ this -> getUtilities ( ) -> fileSystem -> relativeDir ( ) ; return ( 'package' === $ mode && $ rel_dir ) || ( 'theme' === $ mode && ! $ rel_dir ) ; }
Checks if installed as 'theme' or as 'package'
Checks if installed as theme or as package