code: function (bIsEndUser) {
  			var oUriParams, sLayer;
  			if (bIsEndUser) {
  				return "USER";
  			}
  
  			oUriParams = this._getUriParameters();
  			sLayer = oUriParams.get("sap-ui-layer") || "";
  			sLayer = sLayer.toUpperCase();
  			return sLayer || "CUSTOMER";
  		}
docs: Returns the current layer as defined by the url parameter. If the end user flag is set, it always returns "USER".
  
  @param {boolean} bIsEndUser - the end user flag
  @returns {string} the current layer
  @public
  @function
  @name sap.ui.fl.Utils.getCurrentLayer