when does str.isupper return true