Checks whether the given string is all uppercase.
bool isUpperCase(final String str) { return str == str.toUpperCase(); }