An event platform may compare event or session codes that contain the same characters in a different order. Write a function that determines whether one string is an anagram of another.
Two strings are anagrams when they contain exactly the same lowercase English letters with the same frequencies. Character order does not matter. The strings are guaranteed to contain only lowercase letters from a through z; do not ignore spaces, punctuation, or letter casing.
Implement is_anagram(s, t):
s and t.True if t is an anagram of s; otherwise, return False.def is_anagram(s, t):