what's the purpose of doing this instead of just importing ``decimal`` and testing if the Decimal objects are equal?