code: def parse_args(self, ctx, args):
          
          if args and args[0] in self.commands:
              args.insert(0, '')
          super(OptionalGroup, self).parse_args(ctx, args)
docs: Check if the first argument is an existing command.