regex solution in Clear category for All Upper I by -dead-inside-
import re is_all_upper = lambda text: re.findall('[a-z]+', text) == []
March 11, 2020