Si el tipo es String Python
isinstance(s, str)
Fair Fly
isinstance(s, str)
# Method 1
isinstance(variable, str)
# Method 2
type(variable) == str