def check_decimal_element(decimal_string):
    try:
        decimal.Decimal(decimal_string)
    except decimal.InvalidOperation:
        raise ValueError

# register the decimal type with objectify
wakeLockAcquireDim()
dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/api.py/check_decimal_element--crossover with--dataset/ETHPy150Open brousch/sl4a_pydroid_mock_api/src/android/utils/androidhelper_r6.py/Android.wakeLockAcquireDim