class_docstr: Waits for a file or folder to land in HDFS.
class_docstr_tok: ["Waits","for","a","file","or","folder","to","land","in","HDFS","."]
code: def poke(self, context: Context) -> bool:
      from airflow.providers.apache.hdfs.hooks.webhdfs import (
          WebHDFSHook,
      )
  
      hook = WebHDFSHook(self.webhdfs_conn_id)
      self.log.info("Poking for file %s", self.filepath)
      return hook.check_for_path(hdfs_path=self.filepath)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.sensors.base import BaseSensorOperator
label_desc: Use image node_id 2 for calling the WebHdfsSensor obj's underlying member method code with example usage: obj.poke(context) and returns: hook