Define a function total_rare_brew_time that consumes a list of Potion and produces the sum of all the time_required to brew each Potion, but only if the Potion has an ingredient that is_rare.
The file monster_mash.py is in monster_mash.py and in the monster_mash.py tab of the sandbox (To sandbox).