><span><a href="#type-symbol">symbol</a> list</span> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div><div class="spec-doc"><p><code>accept a ss</code> returns true iff <code>ss</code> is accepted by <code>a</code>. <i>I.e.</i>, if <code>trans_hat a q ss</code> contains at least one accepting state. Raises <code>Failure</code> is no initial state has been specified in <code>a</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_in_cycle"><a href="#val-