# File lib/aws/ec2/internet_gateway.rb, line 106 def exists? begin get_resource true rescue Errors::InvalidInternetGatewayID::NotFound false end end