code: def shift_maker(sign_idx, shf):
      """
      Makes `shift`, which is a basic shift function to be composed.
          `shift`: if idx >= sign_idx, right shift shf for the idx.
      :param int sign_idx: word after this idx should shift
      :param int shf: word shift
      """
      return lambda idx: 0 if idx < sign_idx else shf
  
label_desc: Use image node_id 1 for calling a global function with example usage: shift_maker(sign_idx, shf) and returns: function