code: def _is_docstring_node(node, node_index, parent_type):
      return (
          node_index == 0
          and _is_string_constant_node(node)
          and parent_type
          in {ast.FunctionDef, ast.AsyncFunctionDef, ast.Module}
      )
  
file_path: streamlit/lib/streamlit/runtime/scriptrunner/magic.py
imports: import ast
  from typing_extensions import Final
  from streamlit import config
label_desc: Use image node_id 8 for calling a global function with example usage: _is_docstring_node(node, node_index, parent_type) and returns: unknown