hasMaxLayerStorage(oParameter, oControl) {
			const sReference = ManifestUtils.getFlexReferenceForControl(oControl);
			var oFlexInfoSession = FlexInfoSession.getByReference(sReference);
			return !!(oFlexInfoSession.maxLayer && oFlexInfoSession.maxLayer === oParameter.value);
		}
Checks if the the max layer is the given value is the session.

@param {object} oParameter - Object containing the parameter value to be checked
@param {string} oParameter.value - Parameter value to be checked
@param {object} oControl - oControl

@returns {boolean} <code>true</code> if the value is in the session

@private
@ui5-restricted sap.ui.rta