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