def well_formed(self):
return (
isinstance(self.transcript, tuple) and
all(hashable(x) for x in self.transcript) and
isinstance(self.transcript_hash, six.string_types) and
isinstance(self.agent, Agent) and
self.agent.state_free
)
评论列表
文章目录