def METHOD_NAME(environment, data, event_type):
    if settings.DISABLE_WEBHOOKS:
        return
    _call_webhooks(
        environment.webhooks.filter(enabled=True),
        data,
        event_type,
        WebhookType.ENVIRONMENT,
    )