def METHOD_NAME(folder: Path) -> bool:
    conf_path = folder / CONF_NAME
    if not conf_path.exists():
        return False
    with open(conf_path, "rb") as fd:
        toml_dict = tomli.load(fd)
        if toml_dict.get("tool", None) is not None:
            if toml_dict["tool"].get("generate", None) is not None:
                if toml_dict["tool"]["generate"].get("autorest-post-process", None) is not None:
                    return toml_dict["tool"]["generate"]["autorest-post-process"]
    return False