function(sLayer, sCurrentLayer) {
			var sCurrent = sCurrentLayer || Utils.getCurrentLayer(false);
			// If sLayer is undefined, it is assumed it be on the lowest layer
			if ((this.getLayerIndex(sCurrent) > this.getLayerIndex(sLayer)) || !sLayer) {
				return -1;
			} else if (this.getLayerIndex(sCurrent) === this.getLayerIndex(sLayer)) {
				return 0;
			} else {
				return 1;
			}
		}
function(sLayer, sCurrentLayer) {
			var sCurrent = sCurrentLayer || Utils.getCurrentLayer(false);
			// If sLayer is undefined, it is assumed it be on the lowest layer
			if ((this.getLayerIndex(sCurrent) > this.getLayerIndex(sLayer)) || !sLayer) {
				return -1;
			} else if (this.getLayerIndex(sCurrent) === this.getLayerIndex(sLayer)) {
				return 0;
			} else {
				return 1;
			}
		}
function ( sLayer , sCurrentLayer ) { var sCurrent = sCurrentLayer || Utils . getCurrentLayer ( false ) ; // If sLayer is undefined, it is assumed it be on the lowest layer if ( ( this . getLayerIndex ( sCurrent ) > this . getLayerIndex ( sLayer ) ) || ! sLayer ) { return - 1 ; } else if ( this . getLayerIndex ( sCurrent ) === this . getLayerIndex ( sLayer ) ) { return 0 ; } else { return 1 ; } }
Compares current layer with a provided layer
-1: Lower layer, 0: Same layer, 1: Layer above

@param {String} sLayer - Layer name to be evaluated
@param {String} [sCurrentLayer] - Current layer name to be evaluated, if not provided the layer is taken from URL parameter
@returns {int} -1: Lower layer, 0: Same layer, 1: Layer above
@public
@function
@name sap.ui.fl.Utils.isLayerOverCurrentLayer
Compares current layer with a provided layer - 1 : Lower layer 0 : Same layer 1 : Layer above
Returns the index of the given layer in the list of layers