public function getModulesWithoutRelations(array $modules) : array
    {
        $result = [];
        foreach ($modules as $moduleName => $module) {
            if (isset($module['relations']) && is_array($module['relations']) && ! empty($module['relations'])) {
                continue;
            }
            $result[] = $moduleName;
        }

        return $result;
    }