async function needContextSpecificReload(oReloadInfo, sReference) {
		// TODO: could be disabled when ContextBasedAdaptationAPI is enabled
		let oFlexInfoSession = FlexInfoSession.getByReference(sReference);
		if (oFlexInfoSession.initialAllContexts) {
			return false; // if we are already in RTA mode, no reload needed again
		}
		if (oFlexInfoSession.allContextsProvided === undefined) {
			const mPropertyBag = {
				selector: oReloadInfo.selector,
				layer: oReloadInfo.layer
			};
			await PersistenceWriteAPI.updateResetAndPublishInfo(mPropertyBag);
			// Refresh oFlexInfoSession with updated backend data updated in updateResetAndPublishInfo
			oFlexInfoSession = FlexInfoSession.getByReference(sReference);
		} else {
			FlexState.setAllContextsProvided(sReference, oFlexInfoSession.allContextsProvided);
		}
		oFlexInfoSession.initialAllContexts = !oFlexInfoSession.allContextsProvided;
		FlexInfoSession.setByReference(oFlexInfoSession, sReference);
		return !oFlexInfoSession.allContextsProvided;
	}
Should reload happen when starting RTA due to allContextsProvided flag.
allContextsProvided determines if the user has provided all nessesary roles to see the views.
If allContextsProvided=false, that means that EndUser hasn't some specific roles to see the views,
so the reload should happen in order to provide all views for a KeyUser.

@param {object} oReloadInfo - Information needed for the reload
@param {sap.ui.core.Control} oReloadInfo.selector - Root control instance
@param {string} sReference - Flex reference of the app
@return {boolean} true if allContextsProvided false and RTA wasn't started yet, otherwise false.