How To Check If Value Is String Python