def is_task_object(a):
    return isinstance(a, Task) and a.use_task_objects
Determine if the provided value is a ``Task`` object.
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/main.py/is_task_object