def METHOD_NAME(self):
    # prune opt methods using analyser result and baseline strategy results
    can_module_replace = self.analyser_result.get("has_module_for_replace")
    if not can_module_replace:
        self.excluded_opts.append("module_replace")
        self.opt_method_lib.disable_opts(["module_replace"])