<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_all_internet_gateways(self, internet_gateway_ids=None, filters=None):
 """ Get a list of internet gateways. You can filter results to return information about only those gateways that you're interested in. :type internet_gateway_ids: list :param internet_gateway_ids: A list of strings with the desired gateway IDs. :type filters: list of tuples :param filters: A list of tuples containing filters. Each tuple consists of a filter key and a filter value. """

        params = {}

        if internet_gateway_ids:
            self.build_list_params(params, internet_gateway_ids, 'InternetGatewayId')
        if filters:
            self.build_filter_params(params, dict(filters))

        return self.get_list('DescribeInternetGateways', params, [('item', InternetGateway)])