Stubbed methods for palindrome detection