Function std::ptr::is_not_null

pub fn is_not_null<T, P: RawPtr<T>>(ptr: P) -> bool

Returns true if the pointer is not equal to the null pointer.