def helper_power(f, unit1, unit2):
    if (unit2 is None):
        return ([None, None], False)
    try:
        return ([None, get_converter(unit2, dimensionless_unscaled)], False)
    except UnitsError:
        raise UnitTypeError('Can only raise something to a dimensionless quantity')
def helper_power(f, unit1, unit2):
    if (unit2 is None):
        return ([None, None], False)
    try:
        return ([None, get_converter(unit2, dimensionless_unscaled)], False)
    except UnitsError:
        raise UnitTypeError('Can only raise something to a dimensionless quantity')