code: def check_args(args):
      flag = sum([args.only_1st, args.only_2nd])
      assert (
          flag <= 1
      ), "no more than one selection from --only_1st and --only_2nd"
      if flag == 0:
          assert (
              args.dim % 2 == 0
          ), "embedding dimension must be an even number"
      if args.async_update:
          assert args.mix, "please use --async_update with --mix"
  
label_desc: Use image node_id 1 for calling a global function with example usage: check_args(args) without return types