How to apply OR function with a member of a list I’m using the following function to filter a column in an array