Basically I want to do this:
obj = \'str\' type ( obj ) == string
I tried:
type ( obj ) == type ( string )
i think this should do it
if isinstance(obj, str)