How to check for advancements after 1.20.5

I've been trying to make an execute command to check if players have the "Free the End" advancement for a mechanic in my pack but after 1.20.5 I am confused on how do do that.
Continue to help post