I have this method which validates a string.
In my assignment I can\'t have more than 1 return in a method.
How can I make this method in a way to return only