def is_sentinel(obj):
    return type(obj) is str and obj == SENTINEL
Predicate to determine whether an item from the queue is the
dataset/ETHPy150Open serverdensity/sd-agent/checks/libs/thread_pool.py/is_sentinel