> :&ensp;<code><a title="pystablemotifs.restrict_space.rspace" href="#pystablemotifs.restrict_space.rspace">rspace()</a> list</code></dt>
<dd>Restrict space list (see restrict_space.rspace for details).</dd>
</dl>
<h2 id="returns">Returns</h2>
<dl>
<dt><code>bool</code></dt>
<dd>True if and only if state is not in L.</dd>
</dl></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def partial_state_contradicts_rspace(state,L):
    &#34;&#34;&#34;Tests 