python check if user input is empty