Python Check If Input String Is Empty