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