def METHOD_NAME(enable_go_filter):
    econf = get_envoy_config(MAPPING)
    filters = _get_go_filters(econf.as_dict())
    # Two listeners - ports 8080 and 8443 - each with an HTTP and HTTPS filterchain
    assert len(filters) == 4
    errors = econf.ir.aconf.errors
    assert "ir.go_filter" not in errors