def METHOD_NAME(self):
    if self.options.stub_only == "auto":
        # FIXME: uncomment the next line when libunbound is available
        # return self.settings.os == "Windows"
        return True
    else:
        return self.options.stub_only