You don't need this else. Just return false in it's place.
The return statement immediately exits a function, so if `if text[::-1] == text` is True `palindrome()` will exit with True