code: public static <K> boolean containsAny(Set<K> aSet, K[] arr) {
          for (K obj : arr) {
              if (aSet.contains(obj)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks whether any of an array's elements are also in the provided set.
  
  @param aSet a {@link Set}.
  @param arr an array.
  @return <code>true</code> or <code>false</code>.