check if object `obj` is a string,"isinstance(obj, str)"