I have an enum :

```
public enum PermissionsEnum {
    ABC("Abc"),        
    XYZ("Xyz"),
    ....
}

```

And then I have a list of **Enums**. I want to check if my list has at least one of the enums. I currently check it by an iterative approach. I also know there is a way to do it by using `||` checking `list.contains(enum.ABC..) || list.contains(enum.XYZ) || ...`. 

Is there a better way to do it?

[This question](https://stackoverflow.com/questions/49747276/best-way-to-check-if-list-contains-at-least-one-of-an-enum) shows how to do it if the objective list is a list of Strings, I want to get the matching status if the list is another list of enums.