

def is_null(self, is_null=True):
    if is_null:
        return Expression(self, OP.IS, None)
    return Expression(self, OP.IS_NOT, None)

dataset/ETHPy150Open coleifer/peewee/peewee.py Node.is_null/original