private function canLoadExtLocalconfFile($extensionKey)
    {
        $activePackages = $this->packageManager->getActivePackages();
        foreach ($activePackages as $package) {
            $this->loadExtLocalconfForExtension($package->getPackageKey());
            if ($package->getPackageKey() === $extensionKey) {
                break;
            }
        }

        return true;
    }