code: def renderer_height_is_known() -> bool:
      """
      Only True when the renderer knows it's real height.
  
      (On VT100 terminals, we have to wait for a CPR response, before we can be
      sure of the available height between the cursor position and the bottom of
      the terminal. And usually it's nicer to wait with drawing bottom toolbars
      until we receive the height, in order to avoid flickering -- first drawing
      somewhere in the middle, and then again at the bottom.)
      """
      return get_app().renderer.height_is_known
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, cast
  from prompt_toolkit.application.current import get_app
  from prompt_toolkit.cache import memoized
  from prompt_toolkit.enums import EditingMode
  from .base import Condition
label_desc: Use image node_id 12 for calling a global function with example usage: renderer_height_is_known() and returns: get_app