Instructure interview question

Write a function that determines if two strings are anagrams.