code: def get_validator(filter_data):
      
      for matcher_type, m in matchers.items():
          if hasattr(m, 'can_handle') and m.can_handle(filter_data):
              filter_data = m.handle(filter_data)
  
      return filter_data
docs: ask every matcher whether it can serve such filter data
  
      :param filter_data:
      :return: