protected function getIsHeadlessFromThemeDetailsProviders()
    {
        $providers = $this->getThemeDetailsProviders();
        foreach ($providers as $provider) {
            if ($provider instanceof ThemeDetailsProviderInterface) {
                $isHeadless = $provider->isHeadless();
                if (!empty($isHeadless)) {
                    return $isHeadless;
                }
            }
        }

        return false;
    }