pub fn peek_pointer_invalidation() -> bool
Returns true if a pointer invalidation is pending without clearing it.