def chewrec_func(data, rec, arg):
    """
    Callback for record chewing.
    """
    if rec != None:
        return 1
    return 0
dataset/ETHPy150Open tmetsch/python-dtrace/attic/dtrace.py/chewrec_func/operator `is` -> `!=`