async isContextSharingEnabled(mPropertyBag) {
			if (mPropertyBag.layer !== Layer.CUSTOMER) {
				return false;
			}
			const sReference = ManifestUtils.getFlexReferenceForControl(mPropertyBag.variantManagementControl);
			const oSettings = await Settings.getInstance();
			const bIsEnabled = oSettings.getIsContextSharingEnabled()
				&& !ContextBasedAdaptationsAPI.adaptationExists({reference: sReference, layer: Layer.CUSTOMER});
			return bIsEnabled;
		}
Checks if context sharing is enabled.

@param {object} mPropertyBag - Object with parameters as properties
@returns {boolean} True if context sharing is enabled
@private
@ui5-restricted sap.ui.comp, sap.ui.fl