Given a string s, return true if it is a palindrome, or false otherwise. Consider only alphanumeric characters and ignore cases.
Explanation: 'amanaplanacanalpanama' is a palindrome.