'Return a filter key and value if exact filter exists for name.'

def get_exact_filter_by_name(self, name):

    for entry in self.filters:
        if ((entry['name'] == name) and (entry['comparator'] == 'equals')):
            return entry
