python program to check if string is empty or not