how do I check if a player is on fire?

No Idea how to do this or how to set a player on fire for 1.21.4

Continue to help post