code: def vi_search_direction_reversed() -> bool:
      "When the '/' and '?' key bindings for Vi-style searching have been reversed."
      return get_app().reverse_vi_search_direction()
  
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 31 for calling a global function with example usage: vi_search_direction_reversed() and returns: get_app