fn is_agent_block_of(mstore: &Store, block: &Block, agent_uid: &str) -> bool
A block launched from a template keeps the template’s id in agentId and binds its agent through agentInstanceId, so the bound instance counts too.
agentId
agentInstanceId