Checks if an element (string or array) contains any of the specified filter values
Handles both string and array inputs with different matching logic:
The element to test (recipe title, tags array, etc.)
The filter values to search for
True if any filter value is found in the element
Checks if an element (string or array) contains any of the specified filter values
Handles both string and array inputs with different matching logic: