Classes/Console/Extension/ExtensionCompatibilityCheck.php
private function canLoadExtTablesFile($extensionKey)
    {
        $activePackages = $this->packageManager->getActivePackages();
        foreach ($activePackages as $package) {
            // Load all ext_localconf files first
            $this->loadExtLocalconfForExtension($package->getPackageKey());
        }
        foreach ($activePackages as $package) {
            $this->loadExtTablesForExtension($package->getPackageKey());
            if ($package->getPackageKey() === $extensionKey) {
                break;
            }
        }

        return true;
    }
private function canLoadExtTablesFile($extensionKey)
    {
        $activePackages = $this->packageManager->getActivePackages();
        foreach ($activePackages as $package) {
            // Load all ext_localconf files first
            $this->loadExtLocalconfForExtension($package->getPackageKey());
        }
        foreach ($activePackages as $package) {
            $this->loadExtTablesForExtension($package->getPackageKey());
            if ($package->getPackageKey() === $extensionKey) {
                break;
            }
        }

        return true;
    }
Load all ext_table files in order until given extension key

@param string $extensionKey
@return bool