'Check that all containers for this service report healthy.
Returns false if at least one healthcheck is pending.
If an unhealthy container is detected, raise a HealthCheckFailed
exception.'

def is_healthy(self):

    result = True
    for ctnr in self.containers():
        ctnr.inspect()
        status = ctnr.get(u'State.Health.Status')
        if (status is None):
            raise NoHealthCheckConfigured(self.name)
        elif (status == u'starting'):
            result = False
        elif (status == u'unhealthy'):
            raise HealthCheckFailed(ctnr.short_id)
    return result
