I was reading some posts and i saw you were say something...
Just a note for you so you don't run into issues later... there's no $ on isupper.

Are you serious? I think you need to read /help $isupper
Of course we can check like this:
if (SomeTextHere isupper) { ... }
But this is not the ONLY way since we have $isupper()