code: def wait_for_task_property(service, task, prop, timeout_sec=120):
      
      return time_wait(lambda: task_property_present_predicate(service, task, prop), timeout_seconds=timeout_sec)
docs: Waits for a task to have the specified property