code: function (sFetch, bThrow) {
  			return function () {
  				var oSyncPromise = this[sFetch].apply(this, arguments);
  
  				if (oSyncPromise.isFulfilled()) {
  					return oSyncPromise.getResult();
  				} else if (bThrow) {
  					if (oSyncPromise.isRejected()) {
  						oSyncPromise.caught();
  						throw oSyncPromise.getResult();
  					} else {
  						throw new Error("Result pending");
  					}
  				}
  			};
  		}
docs: Returns a "get*" method corresponding to the given "fetch*" method.
  
  @param {string} sFetch
  A "fetch*" method's name
  @param {boolean} [bThrow=false]
  Whether the "get*" method throws if the promise is not (yet) fulfilled instead of just
  returning <code>undefined</code> (Note:
  {@link sap.ui.model.odata.v4.ODataMetaModel#getObject} intentionally never throws
  because it is used for data binding)
  @returns {function}
  A "get*" method returning the "fetch*" method's result or
  <code>undefined</code> in case the promise is not (yet) fulfilled