Python Check If Input Is String Cheese