Palindrome, ignoring case and spaces

Write is_palindrome(text) that returns True if the text reads the same backwards, ignoring capital letters and spaces.

is_palindrome("Was it a cat I saw")  ->  True
is_palindrome("bread")               ->  False
def is_palindrome(text):
    ...