Strapi v5 lifesycle beforeUpdate

System Information
  • Strapi Version: 5.0.6
  • Operating System: macOs
  • Database: postgresql

Is it possible to check in beforeUpdate whether the user has updated the draft or published entity?

In Strapi v4 it was easy, but I don’t know how to check it in Strapi v5.