QPyNullVariant() equals to QPyNullVariant(), qgis.core.NULL

>>>> from qgis.core import NULL
>>>> lyr.getFeatures().next().attributes()[0] == NULL
True