Check If String Ends With Python