def METHOD_NAME(code_snippet: str) -> bool:
    transpiler = get_cmd_or_die(c.TRANSPILER)
    tempdir = tempfile.gettempdir()
    cfile = os.path.join(tempdir, "test.c")
    with open(cfile, 'w') as fh:
        fh.write(code_snippet)
    # avoid warnings about missing compiler flags, not strictly required
    cc_json = os.path.join(tempdir, "compile_commands.json")
    with open(cc_json, 'w') as fh:
        fh.write(minimal_cc_db)
    ld_lib_path = get_rust_toolchain_libpath()
    # don't overwrite existing ld lib path if any...
    if 'LD_LIBRARY_PATH' in pb.local.env:
        ld_lib_path += ':' + pb.local.env['LD_LIBRARY_PATH']
    args = []
    args += ['--ddump-untyped-clang-ast']
    args += [cfile]
    # import ast
    with pb.local.env(RUST_BACKTRACE='1',
                      LD_LIBRARY_PATH=ld_lib_path):
        invoke(transpiler, args)
    return True  # if we get this far, test passed