input: Write a python function to check if a given string is a palindrome.
  assert isPalindrome('noon') == True
  assert isPalindrome('level') == True
  assert isPalindrome('hello') == False
output: def isPalindrome(s: str) -> bool:
      return s == s[::-1]