Function std::ptr::is_null

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

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