As in the code, there are two parser.add_argument --date and --type. If --type exists, I want to use another function. How can I check the existence of --type? I tried this but