public function isDeletedSetup($aSetupConfig, $aDemoConfig)
    {
        /** @var Utilities $oUtils */
        $oUtils = $this->getInstance("Utilities");
        $sPath = getShopBasePath();

        if (!isset($aDemoConfig['dbiDemoData']) || $aDemoConfig['dbiDemoData'] != '1') {
            // "/generated" cleanup
            $oUtils->removeDir($sPath . "out/pictures/generated", true);

            // "/master" cleanup, leaving nopic
            $oUtils->removeDir($sPath . "out/pictures/master", true, 1, ["nopic.jpg"]);
        }

        if (isset($aSetupConfig['blDelSetupDir']) && $aSetupConfig['blDelSetupDir']) {
            // removing setup files
            $blDeleted = $oUtils->removeDir($sPath . EditionPathProvider::SETUP_DIRECTORY, true);
        } else {
            $blDeleted = false;
        }

        return $blDeleted;
    }