title: How to check if a pointer is null in python?
body: <p>I need to process a pointer to get its value via a callback. This is problematic since this pointer is null during the first call. So doing a <em>pointer.contents</em> does <em>ValueError: NULL pointer access</em>. To avoid this, how to check if the pointer is null ?</p>