Total newbie python question. I find myself having to write to the following code
s: str
if s is None or len(s) <= 0
to check for string validation.
I finally wrote a tiny function to do that for me.
Is there a more pythantic way of doing this?