class_docstr: Given as a parameter to the inputhook.
class_docstr_tok: ["Given","as","a","parameter","to","the","inputhook","."]
code: def __init__(
      self, fileno: int, input_is_ready: Callable[[], bool]
  ) -> None:
      self._fileno = fileno
      self.input_is_ready = input_is_ready
  
imports: from __future__ import annotations
  import asyncio
  import os
  import select
  import selectors
  import sys
  import threading
  from asyncio import AbstractEventLoop, get_running_loop
  from selectors import BaseSelector, SelectorKey
  from typing import TYPE_CHECKING, Any, Callable, Mapping
label_desc: Use image node_id 1 to create a new InputHookContext object  with example: obj = InputHookContext(fileno, input_is_ready)