code: private static boolean hasManyCaps(final String word) {
          if ("i".equalsIgnoreCase(word)) return false;
          int capCharCount = 0;
          for (int i = 0; i < word.length(); i++) {
              if (isUpperCase(word.charAt(i))) capCharCount++;
              if (capCharCount == 2) return true;
          }
          return false;
      }
docs: This method detects if the word has more than one character which is capital sized.
  @return true if there are more than one character upper cased; return false if less than one character is upper cased.