Write a function that returns true if a number is a palindrome.
true
isPalindrome(838) ➞ true isPalindrome(4433) ➞ false isPalindrome(443344) ➞ true