isAgent

open fun isAgent(): Boolean

true when this participant is an AI agent rather than a person — cast to AgentParticipant to read its state.