[python] Checking if sys.argv[x] is defined