public static boolean isMixedCase(String word) {
    if (word.length() < 2) return false;

    String tail = word.substring(1);
    String lowerCase = StringUtil.toLowerCase(tail);
    return !tail.equals(lowerCase) && !isUpperCase(word);
  }
public static boolean isMixedCase(String word)