pub fn valid_sentinel_ptr<T>(ptr: *const T) -> bool
Test to see if a pointer (which may be a sentinel) is valid. Valid means it is not null and not a sentinel.