code: def check_no_returns(module: ast.Module) -> None:
      for node in module.body:
          if isinstance(node, ast.Return):
              raise Exception("Main body of function cannot return")
  
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 1 for calling a global function with example usage: check_no_returns(module) without return types