input: Write a function to check if a name contains only alphabets.
  assert is_name_valid('John') == True
  assert is_name_valid('Jane123') == False
  assert is_name_valid('Alice') == True
  assert is_name_valid('Bob!') == False
output: def is_name_valid(name):
      return name.isalpha()