def _get_enabled():
    """Wrapped function for filtering enabled providers."""
    providers = Provider.objects.all()
    return [p for p in providers if p.enabled()]
Wrapped function for filtering enabled providers.