See discussion here: How to handle dangling references to deleted records - #5 by ianbuywise
The solution offered in that thread doesn’t help if a table is from another app. Then I cannot prevent dangling pointers by using a function to do deletions safely.
The Table.has_row does not check for dangling pointers.
So the only way is to handle TableError exceptions, which is cumbersome and slow.
So I’d like to see a way to check whether a row is deleted. Or, of course, to prevent the problem of dangling refs altogether.