def METHOD_NAME(self):
    if self._settings_build.os == "Windows":
        self.win_bash = True
        if not self.conf.get("tools.microsoft.bash:path", check_type=str):
            self.tool_requires("msys2/cci.latest")
    if is_msvc(self):
        self.tool_requires("automake/1.16.5")