is_quantity

caqtus.types.units.is_quantity(value) TypeIs[Quantity]

Returns True if the value is a quantity, False otherwise.