function checkRequest(oRequest, fnSuccess, fnError, oHandler, oHttpClient, oMetadata) {
				const oRequestHandle = {
					abort : () => {
						assert.notOk(that.oModel.bDestroyed, "Unexpected #abort after model destruction!");
						oAbortHelper.abortCalled(oRequestHandle.sExpectedAbortId);
						fnError.call(that.oModel, ODataModel._createAbortedError());
					}
				};

				if (oRequest.requestUri.includes("$batch")) {
					checkBatchRequest(oRequest, fnSuccess, fnError, oRequestHandle);
				} else {
					checkSingleRequest(oRequest, fnSuccess, fnError, undefined, oRequestHandle);
				}
				return oRequestHandle;
			}
Stub function for datajs#request. Decides if a request should be executed as single
request or batch request.

@param {object} oRequest The request object
@param {function} fnSuccess Success callback function
@param {function} fnError Error callback function
@param {object} oHandler The request handler object
@param {object} oHttpClient The HttpClient object
@param {object} oMetadata The metadata object
@returns {object}
  An object with a property <code>abort</code>, containing a function to abort the request