code: def customer_gateway_exists(customer_gateway_id=None, customer_gateway_name=None,
                              region=None, key=None, keyid=None, profile=None):
      '''
      Given a customer gateway ID, check if the customer gateway ID exists.
  
      Returns True if the customer gateway ID exists; Returns False otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.customer_gateway_exists cgw-b6a247df
          salt myminion boto_vpc.customer_gateway_exists customer_gatway_name=mycgw
  
      '''
  
      return resource_exists('customer_gateway', name=customer_gateway_name,
                             resource_id=customer_gateway_id,
                             region=region, key=key, keyid=keyid, profile=profilef customer_gateway_exists(customer_gateway_id=None, customer_gateway_name=None,
                              region=None, key=None, keyid=None, profile=None):
      '''
      Given a customer gateway ID, check if the customer gateway ID exists.
  
      Returns True if the customer gateway ID exists; Returns False otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.customer_gateway_exists cgw-b6a247df
          salt myminion boto_vpc.customer_gateway_exists customer_gatway_name=mycgw
  
      '''
  
      return resource_exists('customer_gateway', name=customer_gateway_name,
                             resource_id=customer_gateway_id,
                             region=region, key=key, keyid=keyid, profile=profile)
docs: Given a customer gateway ID, check if the customer gateway ID exists.
  
      Returns True if the customer gateway ID exists; Returns False otherwise.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.customer_gateway_exists cgw-b6a247df
          salt myminion boto_vpc.customer_gateway_exists customer_gatway_name=mycgw