def METHOD_NAME():
   # Sanity check
   for optionName, allowedValues in allowedOptions.items():
      if not getattr(options, optionName) in allowedValues:
         print("Bad input to option: %s" % optionName)
         sys.exit()