How To Check If A Variable Is A String Python