code: def validate_args(args):
      
      # print size of vm to be dl, if dl dir exists, check that file to uplad is a vmdk
      if not os.path.isdir(args.directory):
          print "Directory {} does not exist".format(args.directory)
          sys.exit(5)
  
      try:
          args.vmdk_upload_file = args.vmdk_upload_file
      except AttributeError:
          args.vmdk_upload_file = None
  
      if args.vmdk_upload_file and not os.path.isfile(args.vmdk_upload_file):
          print "Specified file: {} does not exist".format(args.vmdk_upload_file)
          sys.exit(5)
  
      aws_importer = AWSUtilities.AWSUtils(args.directory, args.aws_profile, args.s3_bucket,
                                           args.aws_regions, args.ami_name, args.vmdk_upload_file)
      aws_importer.validate()
docs: Perform necessary validation checks
      :param args:
      :return: