def same_dimension(*quantities, dimension=None):
    """Check that all Quantities have the Same Dimensionality."""
    if not quantities:
        return not dimension
    quantities = iter(quantities)
    first = next(quantities).dimensionality
    if not dimension or dimension == first:
        return all(map(lambda o: o.dimensionality == first, quantities))
    return False
