input: Write a python function to check if a variable is a string.
  assert is_string("hello") == True
  assert is_string(123) == False
  assert is_string([1, 2, 3]) == False
output: def is_string(variable):
      return isinstance(variable, str)