In practice we use ParsedFiler.filter_type to discriminate the different filter types. Filters that require the correct model class for a specific query are now functions that take a model_class and generate the correct filter.
encode()
bytearray()
GalaxyInteractorBackwardCompatTestCase.test_local_test_data_download