this code is for checking if a word is a palindrome or not, and the decorator check if the word is a string
def string(w): if w != str(w):