docs: private static boolean nonEmptyIntersection(String[] a, String[] b) {
      if (a == null || b == null || a.length == 0 || b.length == 0) {
        return false;
      }
      for (String toFind : a) {
        if (contains(b, toFind)) {
          return true;
        }
      }
      return false;
    }