function getOrGenerateSiteUuid() {
    if (!SITE_UUID) {
        try {
            let configuredSiteUuid = config.get('site_uuid');
            if (configuredSiteUuid && validator.isUUID(configuredSiteUuid)) {
                SITE_UUID = configuredSiteUuid.toLowerCase();
                logging.info(`Setting site_uuid to configured value: ${SITE_UUID}`);
            } else {
                SITE_UUID = crypto.randomUUID();
                logging.info(`Configured site_uuid was not found or invalid. Setting site_uuid to a new value: ${SITE_UUID}`);
            }
        } catch (error) {
            logging.error('Error getting site UUID from config. Setting site_uuid to a new value', error);
            SITE_UUID = crypto.randomUUID();
        }
    }
    return SITE_UUID.toLowerCase();
}
@description Get or generate a site UUID, used for seeding the site_uuid setting
Uses the configured site_uuid if valid, otherwise generates a new one
To get the `site_uuid` setting, use `settingsCache.get('site_uuid')` instead
@returns {String} lowercase UUID