def is_matching(self, name):
        return self.name == name
Register a method to be invoked if the agent service is requested to terminated.
dataset/ETHPy150Open pytest-dev/pytest-bdd/pytest_bdd/parsers.py/string.is_matching--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/WindowsPlatformController.register_for_termination