"""Feature flags on backend.""" from abacus_common_logic.utils.features import is_feature_enabled from flask import g FEATURE_TAP_AUTOMATIC_TAX_CALCULATION = 'tap_automatic_tax_calculation' def is_feature_tap_automatic_tax_calculation_enabled(): """Shortcut to check FEATURE_TAP_AUTOMATIC_TAX_CALCULATION is enabled.""" return is_feature_enabled(FEATURE_TAP_AUTOMATIC_TAX_CALCULATION, g.request_context)