Finish the method definition given below.
Given two sentences sentence
and another_sentence
, the method should determine if one is an anagram of another, and return true
if so, or false
if not. The comparison should be case-insensitive and disregard spaces.
An anagram is a word, phrase, or name formed by rearranging the letters of another, such as spar, formed from rasp.