"""Get feature flags via backend.""" from owsfeatures import features from reporting.constants.features import POINT_OF_SALE_PRICE_COLUMNS FEATURES_ATTRIBUTE = '_features' def is_point_of_sale_price_columns_enabled(): """Check POINT_OF_SALE_PRICE_COLUMNS flag. Returns: bool: Whether POINT_OF_SALE_PRICE_COLUMNS flag is enabled. """ return features.is_feature_enabled(POINT_OF_SALE_PRICE_COLUMNS)