def isPalindrom(self):
    stripped_self = (i.lower() for i in self if i not in ' ,.;:?!')
reversed_stripped_self = (j.lower() for j in self[::-1] if j not in ' ,.;:?!')
return all(self_char == reversed_char for self_char, reversed_char in
    itertools.zip_longest(stripped_self, reversed_stripped_self))
Fast and pythonic way to find out if a string is a palindrome