input: Write a python function to check if a given text is a palindrome, ignoring case and spaces.
  assert is_palindrome("Level") == True
  assert is_palindrome("A man a plan a canal Panama") == True
  assert is_palindrome("Hello") == False
output: def is_palindrome(text):
      cleaned_text = ''.join(char.lower() for char in text if char.isalnum())
      return cleaned_text == cleaned_text[::-1]