code: def _verify_filters(self, kwargs, obj, encode=False):
          
          return (filters.legacy_filter_formatter if encode else filters.filter_formatter)(
              kwargs,
              obj._get_attributes_map()
          )
docs: Legacy entrypoint with 'encode' flag