"""Get feature flags.""" from owsfeatures import features from conflict_manager.constants import feature_flag def is_show_only_indexed_conflicts_enabled(): """Check show_only_indexed_conflicts flag. Returns: bool: Whether auto_update_registry_claims flag is enabled """ return features.check_feature( feature_flag.SHOW_ONLY_INDEXED_CONFLICTS) def is_conflict_mgr_views_in_conflict_data_enabled(): """Check conflict_mgr_views_in_conflict_data flag. Returns: bool: Whether conflict_mgr_views_in_conflict_data flag is enabled """ return features.is_feature_enabled( feature_flag.CONFLICT_MGR_VIEWS_IN_CONFLICT_DATA)