Catching NXDOMAIN with python module

Hello,

I've been playing with the python module, but there's something i still
can't figure out.
Is there a way to detect if query reply returns a NXDOMAIN?
So far i can't find anything in qstate.return_msg.rep

Did i miss something, or it's just not possible ?

Thanks,
Olivier