function getDragSource(oDragSession) {
		let oDragSource;
		const oDragControl = oDragSession.getDragControl();
		if (oDragControl?.isA("sap.m.ListItemBase")) {
			oDragSource = getBindingContext(oDragControl);
		} else if (oDragControl?.isA("sap.ui.table.Row")) {
			oDragSource = oDragSession.getComplexData("sap.ui.table-" + oDragControl.getParent().getId()).draggedRowContext;
		}
		return oDragSource || oDragControl;
	}
Returns the drag source from the DragSession object.

The source is a binding contexts if the dragged element is a table row from any table dropped in mdc/Table rows.
Otherwise, for example if a Button control is dropped into the mdc/Table rows, it is a control instance.

@param {sap.ui.core.dnd.DragSession} oDragSession The DragSession object
@returns {sap.ui.model.Context|sap.ui.core.Element} The drag source
@private