getReloadInfo(oPropertyBag) {
			const sReference = ManifestUtils.getFlexReferenceForControl(oPropertyBag.selector);
			const oReloadInfo = {};

			oReloadInfo.isDraftAvailable = oPropertyBag.isDraftAvailable || ReloadInfoAPI.hasVersionStorage(
				{ value: Version.Number.Draft },
				oPropertyBag.selector
			);

			oReloadInfo.hasVersionStorage = !!FlexInfoSession.getByReference(sReference).version;

			if (
				oPropertyBag.activeVersion
				&& oPropertyBag.activeVersion !== Version.Number.Original
				&& oReloadInfo.hasVersionStorage
			) {
				oReloadInfo.activeVersionNotSelected = !ReloadInfoAPI.hasVersionStorage(
					{ value: oPropertyBag.activeVersion }, oPropertyBag.selector
				);
			}

			oReloadInfo.hasHigherLayerChanges = ReloadInfoAPI.hasMaxLayerStorage({ value: oPropertyBag.layer }, oPropertyBag.selector);
			oReloadInfo.initialDraftGotActivated = ReloadInfoAPI.initialDraftGotActivated(oPropertyBag);
			if (oReloadInfo.initialDraftGotActivated) {
				oReloadInfo.isDraftAvailable = false;
			}
			oReloadInfo.allContexts = isAllContextsAvailable(sReference);
			oReloadInfo.switchEndUserAdaptation = needAdaptationReloadOnExit(sReference);
			oReloadInfo.reloadNeeded = oReloadInfo.isDraftAvailable
				|| oReloadInfo.hasHigherLayerChanges
				|| oReloadInfo.initialDraftGotActivated
				|| oReloadInfo.activeVersionNotSelected
				|| oReloadInfo.allContexts
				|| oReloadInfo.switchEndUserAdaptation;

			return oReloadInfo;
		}
Determines if a reload on exit is needed and why.

@param {object} oPropertyBag - Contains the information needed to check if a reload on exit should happen
@param {sap.ui.fl.Layer} oPropertyBag.layer - Current layer
@param {boolean} oPropertyBag.isDraftAvailable - Indicates if a draft is available
@param {boolean} oPropertyBag.hasHigherLayerChanges - Indicates if higher layer changes exist
@param {boolean} oPropertyBag.initialDraftGotActivated - Indicates if a draft got activated and had a draft initially when the key user entered UI adaptation
@param {boolean} oPropertyBag.activeVersion - Indicates the current active version
@param {sap.ui.fl.Selector} oPropertyBag.selector - Root control instance

@returns {object} An object containing the reload information

@private
@ui5-restricted sap.ui.rta