Finding whether a set and an array have any strings in common
You can use the following stream in place of for-loop

Arrays.stream(items)
            .anyMatch(stringSet::contains);


What you are trying to do is loop through the items, and any time the item is contained in the string set u want to return true. 
anyMatch function breaks as soon as any of the items returns true