code: def filter_query_using_filters_list(result, filters_dict):
      
      if not (isinstance(result, Query) or isinstance(result, QueryBooster)):
          if isinstance(result, DefaultMeta) and class_mapper(
                  result).polymorphic_on is not None:
              result = result.query.with_polymorphic('*')
          else:
              result = result.query
      filters = filters_dict['f']
      connector = filters_dict.get('c') or 'AND'
      sqfilter = convert_filters_to_sqlalchemy_filter(result, filters, connector)
      if sqfilter is not None:
          result = result.filter(sqfilter)
      return result
docs: filters = {
          "c": "AND",
          "f": [
              {
                  "k": "layout_id",
                  "op": "=",
                  "v": 1
              },
              {
                  "k": "created_at",
                  "op": ">=",
                  "v": "2014-11-10T11:53:33"
              },
              {
                  "c": "OR",
                  "f": [
                      {
                          "k": "accepted",
                          "op": "=",
                          "v": true
                      },
                      {
                          "k": "accepted",
                          "op": "=",
                          "v": null
                      }
                  ]
              }
          ]
      }