Coderbyte Python Test If Dictionary