class_docstr: Abstraction for any input.
  
  An instance of this class can be given to the constructor of a
  :class:`~prompt_toolkit.application.Application` and will also be
  passed to the :class:`~prompt_toolkit.eventloop.base.EventLoop`.
docstr: Should be true when the input stream is closed.
docstr_tok: ["Should","be","true","when","the","input","stream","is","closed","."]
code: def closed(self) -> bool:
      "Should be true when the input stream is closed."
      return False
  
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod, abstractproperty
  from contextlib import contextmanager
  from typing import Callable, ContextManager, Generator
  from prompt_toolkit.key_binding import KeyPress
label_desc: Use image node_id 6 for calling the Input obj's underlying member method code with example usage: obj.closed() and returns: False