Indicates whether the theme is accessible based on whether it is installed.
string $theme: The name of a theme.
bool TRUE if the theme is installed, FALSE otherwise.
public function checkAccess($theme) { $themes = $this->themeHandler ->listInfo(); return !empty($themes[$theme]->status); }