function areAllRowsSelected(oPlugin) {
		const iSelectableCount = getSelectableCount(oPlugin);
		/* Fails to return the correct information if there are selected invisible contexts. For example, if a context is selected and after
		 * filtering the table contains 1 row with a different, unselected context -> 1 === 1.
		 * We would have to load all contexts and check if all selectable contexts are selected. This would significantly impact performance.
		 */
		return iSelectableCount > 0 && iSelectableCount === oPlugin.getSelectedCount();
	}
Checks if all rows are selected.

@param {sap.ui.table.plugins.ODataV4Selection} oPlugin The selection plugin.
@returns {boolean} Whether all rows are selected.