How do you check a player's health?

The health information is in the healthful interface which is part of fort_character. Assuming you have an agent or player you should be able to get the health by doing this:

if (FortCharacter := MyAgent.GetFortCharacter[]):
    FortCharacter.GetHealth()