Easiest way to check if list contains item

Hey friends,

Im trying to check if a list contains any of these values. The way im setting this up right now is like this:

List.contains(“Number”)or List.contains(“Department”) or List.contains(“Ready”)

But I feel like there should be an easier method because I have to check for many values. So something like
List.contains(“Number”, “Department”, “Ready”)

Is this possible? And if so how can I do this.

have a look on this as it could help to start


Your Search list is {“Number”, “Department”, “Ready”}

YourSearchList.All(function(x) MainList.Contains(x)).ToString

the above code will return true only if all you Search list value match otherwise it returns false