Has State • AI Agent SDK
has_state: Check if a state key exists
has_state
Method
</div>
This is a method of the AgentTeam class in the agents module.
Check if a state key exists
Signature
def has_state(key: str) -> boolParameters
ParamField
strNo description available.
Returns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/agents/agents.py at line 3139