Returns true if str is entirely uppercase (or has no cased characters).
true
str
bool isUpperCase(String str) => str == str.toUpperCase();