Python Check Variable Is String