How to filter objects with a list of filters

I am trying to filter objects based off of many different attribute types. It needs to work where between different filter types, it finds all objects that meet the requirements for filter type 1 and filter type 2. But, within each filter type, there can be multiple filters and those need to work where it finds all objects that meet the requirements for the first filter or the second filter. For all attributes that are static, that is very easy with the “is in” keyword that shows up in a search. The problem arises when trying to do the same for an attribute that is a list. The only keyword that can be used is “contains”, but that only allows a filter for a single object and not a list. How can I make it so when I am filtering these list attributes, I can filter with a list of filters where it finds all objects that have either filter one or filter two in the list attribute of the object?