input: Write a python function to check if a number is a palindrome.
  assert check_palindrome(12321) == True
  assert check_palindrome(123456) == False
  assert check_palindrome(111111) == True
  assert check_palindrome(123321) == True
  assert check_palindrome(123456789) == False
output: def check_palindrome(number):
      str_num = str(number)
      return str_num == str_num[::-1]