Name Input Processing, No Blank Name

So I am using the script:
/NAME/gi.test($gameActors.actor(ActorID)._name)
And am wondering if there is a way to either alter the script or work around it to disallow the player having a blank name.
I don't know if it is a silly question but I was just simply wondering if that script could be altered to check for no player name being input.

As well I am aslo using SumRndmDde's Name Input Upgrade Plugin, if that is of any use as well.
A conditional branch to see if the actor's name is blank, and return to the input prompt, would do the trick.
That really was a silly question from me. I guess I was just thinking too hard on that one, ahahaha, omg.
Thank you though, Shaz.
I'm sure there'd be a way to modify the line you have to check for either condition being true, but regular expressions and I do not like each other very much, so I'm not tempted to try to discover it 😉

Original thread: https://forums.rpgmakerweb.com/threads/name-input-processing-no-blank-name.85743/