code: function (oTarget) {
  				var iViewLevel;
  				do {
  					iViewLevel = oTarget._oOptions.viewLevel;
  					if (iViewLevel !== undefined) {
  						return iViewLevel;
  					}
  					oTarget = oTarget._oParent;
  				} while (oTarget);
  
  				return iViewLevel;
  			}
docs: Traverse up from the given target through the parent chain to find out the first target with a defined view level.
  @param {sap.f.routing.Target} oTarget The target from which the traverse starts to find the first defined view level
  @return {number} The view level
  @private