IsPluginControlledPlayer
A question: does a plugin play this player, rather than the person at the keyboard? A yes changes two things. When a unit still has moves left after its automatic orders, the player's turn is not ended for them, just as for the person at the keyboard. And the advisor's warning before a risky attack, which the person at the keyboard gets, is not shown for their units.