code: function(oTable) {
  			if (!oTable) {
  				return false;
  			}
  
  			var iSelectableRowCount = oTable._getSelectableRowCount();
  			return iSelectableRowCount > 0 && iSelectableRowCount === oTable._getSelectedIndicesCount();
  		}
docs: Finds out if all rows are selected in a table.
  
  @param {sap.ui.table.Table} oTable Instance of the table.
  @returns {boolean} Returns <code>true</code> if all rows in the table are selected.