python test none type

python

if variable is None: