code: def find(text):
      """Open the search dialog.
  
      Module-level function to access the singleton SearchDialog
      instance and open the dialog.  If text is selected, it is
      used as the search phrase; otherwise, the previous entry
      is used.  No search is done with this command.
      """
      pat = text.get("sel.first", "sel.last")
      return _setup(text).open(text, pat)
  
file_path: cpython/Lib/idlelib/search.py
imports: from tkinter import TclError
  from idlelib import searchengine
  from idlelib.searchbase import SearchDialogBase
label_desc: Use image node_id 2 for calling a global function with example usage: find(text) and returns: _setup