Python Test If Variable Is String Mutable In Python