class_docstr: Optional return value for poke methods.
  
  Sensors can optionally return an instance of the PokeReturnValue class in the poke method.
  If an XCom value is supplied when the sensor is done, then the XCom value will be
  pushed through the operator return value.
  :param is_done: Set to true to indicate the sensor can stop poking.
  :param xcom_value: An optional XCOM value to be returned by the operator.
class_docstr_tok: ["Optional","return","value","for","poke","methods",".","Sensors","can","optionally","return","an","instance","of","the","PokeReturnValue","class","in","the","poke","method",".","If","an","XCom","value","is","supplied","when","the","sensor","is","done",",","then","the","XCom","value","will","be","pushed","through","the","operator","return","value",".",":","param","is_done",":","Set","to","true","to","indicate","the","sensor","can","stop","poking",".",":","param","xcom_value",":","An","optional","XCOM","value","to","be","returned","by","the","operator","."]
code: def __init__(
      self, is_done: bool, xcom_value: Any | None = None
  ) -> None:
      self.xcom_value = xcom_value
      self.is_done = is_done
  
imports: from __future__ import annotations
  import datetime
  import functools
  import hashlib
  import logging
  import time
  import traceback
  from datetime import timedelta
  from typing import TYPE_CHECKING, Any, Callable, Iterable
  from airflow import settings
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowFailException, AirflowRescheduleException, AirflowSensorTimeout, AirflowSkipException, AirflowTaskTimeout, TaskDeferralError
  from airflow.executors.executor_loader import ExecutorLoader
  from airflow.models.baseoperator import BaseOperator
  from airflow.models.skipmixin import SkipMixin
  from airflow.models.taskreschedule import TaskReschedule
  from airflow.ti_deps.deps.ready_to_reschedule import ReadyToRescheduleDep
  from airflow.utils import timezone
  from airflow.utils.decorators import apply_defaults
  from airflow.utils.session import create_session
label_desc: Use image node_id 1 to create a new PokeReturnValue object  with example: obj = PokeReturnValue(is_done, xcom_value)