def is_heartbeat(tup):
    return tup.task == -1 and tup.stream == '__heartbeat'
Tell whether the tuple is a heartbeat tuple or not.
dataset/ETHPy150Open Yelp/pyleus/pyleus/storm/__init__.py/is_heartbeat