Check if anagram of a string is a palindrome