Python Check If Value Is Float