Angi interview question

Write a function that checks if two strings are palindromes/anagrams.