Write a function is_palindrome that takes in a string as an argument and returns True if the string is a palindrome, and False otherwise. A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward. For example, "racecar" is a palindrome, while "hello" is not.
Your function should ignore spaces and capitalization when checking if a string is a palindrome. For example, "A man a plan a canal Panama" should return True.
def is_palindrome(s: str) -> bool:
pass
import codewars_test as test
# TODO Write tests
import solution # or from solution import example
# test.assert_equals(actual, expected, [optional] message)
@test.describe("Example")
def test_group():
@test.it("test case")
def test_case():
test.assert_equals(1 + 1, 2)