getAllowlistService = () => {
		let bGlobalProvider = true;
		let sAllowlistService = oWritableConfig.get({
			name: "sapUiAllowlistService",
			type: oWritableConfig.Type.String,
			defaultValue: oWritableConfig.get({
				name: "sapUiWhitelistService",
				type: oWritableConfig.Type.String,
				defaultValue: undefined
			})
		});
		if (!sAllowlistService) {
			sAllowlistService = oWritableConfig.get({
				name: "sapAllowlistService",
				type: oWritableConfig.Type.String,
				defaultValue: oWritableConfig.get({
					name: "sapWhitelistService",
					type: oWritableConfig.Type.String
				})
			});
			bGlobalProvider = false;
		}
		return {
			allowlistService: sAllowlistService,
			globalProvider: bGlobalProvider
		};
	}
Helper function for getting the config option 'allowListService'
For legacy reasons configuration option provided via the global window object
are treated different compared to the option provided using bootstrap or meta
tag. Configuration options provided via globalThis/window object are always
prefixed with 'sapUi' therefore first check for param starting with 'sapUi'.
In case there is no param found check for param prefixed only with 'sap'.
@private
@since 1.120.0
@return {Object} An object containing the value of configuration
parameter allowListService and a flag whether the parameter is derived
from global provider or not.