class ModuleHealthChecker implements HealthChecker {

    public static final String            COMPONENT_NAME = "modules";

    private final ApplicationRuntimeModel applicationRuntimeModel;

    public ModuleHealthChecker(ApplicationRuntimeModel applicationRuntimeModel) {
        this.applicationRuntimeModel = applicationRuntimeModel;
    }

    @Override
    public Health isHealthy() {<FILL_FUNCTION_BODY>}

    @Override
    public String getComponentName() {
        return COMPONENT_NAME;
    }

    @Override
    public int getRetryCount() {
        return 0;
    }

    @Override
    public long getRetryTimeInterval() {
        return 1000;
    }

    @Override
    public boolean isStrictCheck() {
        return true;
    }

    @Override
    public int getTimeout() {
        return 10 * 1000;
    }
}

        Health.Builder builder = new Health.Builder();

        for (DeploymentDescriptor deploymentDescriptor : applicationRuntimeModel.getFailed()) {
            builder.withDetail(deploymentDescriptor.getName(), "failed");
        }

        if (applicationRuntimeModel.getFailed().size() == 0) {
            return builder.status(Status.UP).build();
        } else {
            return builder.status(Status.DOWN).build();
        }
    
<no_super_class>