code: def set_jam_action(name, *args):
      m = _extract_jamfile_and_rule.match(name)
      if m:
          args = (
              "set-update-action-in-module",
              m.group(1),
              m.group(2),
          ) + args
      else:
          args = ("set-update-action", name) + args
  
      return bjam.call(*args)
  
imports: import bjam
  import re
  import types
  from itertools import groupby
label_desc: Use image node_id 10 for calling a global function with example usage: set_jam_action(name) and returns: bjam