rows_are_uniquely_keyed function

Check if table rows are uniquely keyed by keyset.