code: def _split_flag_function(s):
      result = util.find_apply(
          [_split_named_function, _split_anonymous_function], s
      )
      if result is None:
          raise ValueError("not a function")
      return result
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 30 for calling a global function with example usage: _split_flag_function(s) and returns: result