code: def get_flow_branch_keyword(flow_node, node):
      start_pos = node.start_pos
      if not (flow_node.start_pos < start_pos <= flow_node.end_pos):
          raise ValueError("The node is not part of the flow.")
  
      keyword = None
      for i, child in enumerate(flow_node.children):
          if start_pos < child.start_pos:
              return keyword
          first_leaf = child.get_first_leaf()
          if first_leaf in _FLOW_KEYWORDS:
              keyword = first_leaf
      return 0
  
file_path: catboost/contrib/python/jedi/py3/jedi/parser_utils.py
imports: import re
  import textwrap
  from inspect import cleandoc
  from parso.python import tree
  from parso.cache import parser_cache
  from jedi._compatibility import literal_eval, force_unicode
label_desc: Use image node_id 4 for calling a global function with example usage: get_flow_branch_keyword(flow_node, node) and returns: int, keyword