function checkSelected(assert, oContext, bSelected, sText) {
		if (bSelected && oContext.isDeleted()) {
			assert.strictEqual(oContext.isSelected(), false, "selection hidden while deleted");
		} else {
			assert.strictEqual(oContext.isSelected(), !!bSelected,
				sText || "JIRA: CPOUI5ODATAV4-1943");
		}
		assert.strictEqual(oContext.getProperty("@$ui5.context.isSelected"), bSelected,
			sText || "JIRA: CPOUI5ODATAV4-1944");

		checkSelectionCount(assert, oContext.getBinding());
	}
Checks the selection state of the given context.

@param {object} assert - The QUnit assert object
@param {sap.ui.model.odata.v4.Context} oContext - A context
@param {boolean} bSelected - The expected value for the "selected" property.
  If <code>undefined</code> is given, the selection state of the context is asserted against
  <code>false</code>.
@param {string} [sText] - A message for the assertion