code: def parse_and_wrap_code(
      func_name: str,
      raw_code: str,
      input_kwargs: List[str],
      output_arg: str,
  ) -> str:
      # convert to AST
      ast_code = ast.parse(raw_code)
  
      # check there are no globals
      v = GlobalsVisitor()
      v.visit(ast_code)
  
      # check the main body doesn't return
      check_no_returns(ast_code)
  
      # wrap user code in a function
      wrapper_function = make_ast_func(
          func_name,
          input_kwargs=input_kwargs,
          output_arg=output_arg,
          body=ast_code.body,
      )
  
      return unparse(wrapper_function)
  
file_path: PySyft/packages/syft/src/syft/service/code/user_code_parse.py
imports: import ast
  from typing import List
  from .unparse import unparse
label_desc: Use image node_id 5 for calling a global function with example usage: parse_and_wrap_code(func_name, raw_code, input_kwargs, output_arg) and returns: unparse