Argument validation helpers for the Python argparse module