Why not write: `isinstance(value, (int, float, Decimal))` ?