Check if a sentence or a word is an anagram or a palindrome.