check if something is is a string python code example Example: if type is string python isinstance(s, str)