static bool isUppercase(String value) { if (value == null) return false; return value.compareTo(value.toUpperCase()) == 0; }