Can we get the health check status of docker container using docker-compose

Suppose docker container has health check , if the health check return unhealthy code can we get that somehow using docker compose file?