How to know if strapi server is ready?

System Information
  • Strapi Version: latest
  • Operating System: ubuntu
  • Database: sqlite3
  • Node Version: 14
  • NPM Version: 7
  • Yarn Version: none

Is there a way we can know if the strapi server is ready?
(something like strapi.start())

Not from the internal API AFAIK, you would have to run a HEAD /_health I believe.