Verificación de Python por no yuguajas

if variable is None:
  # do your stuff
Marc Tolkmitt