parameters: (self, s)
return_statement: return s == s[::-1]
docstring: :type s: str
          :rtype: bool
docstring_summary: :type s: str
          :rtype: bool
docstring_tokens: : type s : str : rtype : bool
function: def isPalindrome(self, s):
          """
          :type s: str
          :rtype: bool
          """
          s = filter(str.isalnum, str(s.lower()))
          return s == s[::-1]
function_tokens: def isPalindrome ( self , s ) : s = filter ( str . isalnum , str ( s . lower ( ) ) ) return s == s [ : : - 1 ]