Check if a string contains an anagram of another string