code: def _get_or_create_vpc(config):
      cli = _client(config)
      vpcs = cli.describe_vpcs()
      if vpcs is not None and len(vpcs) > 0:
          config["provider"]["vpc_id"] = vpcs[0].get("VpcId")
          return
  
      vpc_id = cli.create_vpc()
      if vpc_id is not None:
          config["provider"]["vpc_id"] = vpc_id
  
file_path: ray/python/ray/autoscaler/_private/aliyun/config.py
imports: import logging
  import os
  import stat
  from ray.autoscaler._private.aliyun.utils import AcsClient
label_desc: Use image node_id 4 for calling a global function with example usage: _get_or_create_vpc(config) without return types