private function computeHealth($previous, $resource)
    {
        return $resource->isGlobal
            ? $previous
            : $previous && $this->computeHealthForAllTargets($resource);
    }
private function computeHealth($previous, $resource)
    {
        return $resource->isGlobal
            ? $previous
            : $previous && $this->computeHealthForAllTargets($resource);
    }
private function computeHealth ( $ previous , $ resource ) { return $ resource -> isGlobal ? $ previous : $ previous && $ this -> computeHealthForAllTargets ( $ resource ) ; }
Compute health.

@param $previous
@param $resource
@return bool
Compute health .