Events
Unit enters playable map area
Conditions
Unit-type of triggering unit == your hero
Actions
Set bool[player number of (triggering player)] = true
------
then you check if bool[X] == true (X is number of player you want to check - e.g. 1 for player 1 (Red) )
----
Alternatively, you can use this trigger as well
Events
Unit dies
Conditions
Unit-type of triggering unit == your hero
Actions
Set bool[player number of (triggering player)] = false
This way it will be false if that hero is dead