input: Write a python function to check if a given string is a valid identifier.
  assert is_valid_identifier("valid_identifier") == True
  assert is_valid_identifier("123invalid") == False
  assert is_valid_identifier("_anotherValid123") == True
output: def is_valid_identifier(s: str) -> bool:
      return s.isidentifier()