is-palindrome is actually a lot simpler