<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_filters(self, filters=None, filters_map=None):
 """Converts a string given by the user into a valid api filter value. :filters: Default filter values. {'filter1': filter_value, 'filter2': filter_value} :filters_map: mapping between user input and valid api filter values. {'filter_name':{_("true_value"):
True, _("false_value"):
False} """

        filters = filters or {}
        filters_map = filters_map or {}
        filter_action = self.table._meta._filter_action
        if filter_action:
            filter_field = self.table.get_filter_field()
            if filter_action.is_api_filter(filter_field):
                filter_string = self.table.get_filter_string().strip()
                if filter_field and filter_string:
                    filter_map = filters_map.get(filter_field, {})
                    filters[filter_field] = filter_string
                    for k, v in filter_map.items():
                        # k is django.utils.functional.__proxy__
                        # and could not be searched in dict
                        if filter_string.lower() == k:
                            filters[filter_field] = v
                            break
        return filters