for future reference...
Rather than having to do this check here you can provide the default keyword arg to parser.add_option and save your self a few lines!