def cmd_stop(self, argv, help):
        parser = argparse.ArgumentParser(
            prog="%s stop" % self.progname,
            description=help,
        )
        instances = self.get_instances(command='stop')
        parser.add_argument("instance", nargs=1,
                            metavar="instance",
                            help="Name of the instance from the config.",
                            choices=sorted(instances))
        args = parser.parse_args(argv)
        instance = instances[args.instance[0]]
        instance.stop()
Test Boolean validator conversion type
dataset/ETHPy150Open ployground/ploy/ploy/__init__.py/Controller.cmd_stop--crossover with--dataset/ETHPy150Open Net-ng/kansha/tests/test_validators.py/ValidatorTest.test_boolean_validator