class ServiceNotFoundFilter extends ZuulFilter {

    @Override
    public boolean shouldFilter() {
        RequestContext currentContext = contextProvider.context();
        String serviceId = (String) currentContext.get(SERVICE_ID_KEY);
        return Strings.isEmpty(serviceId);
    }

}