Check If String Not Empty In Python