state,L):
    &#34;&#34;&#34;Tests to see if state is in the rspace L.

    Parameters
    ----------
    state : partial state dictionary
        State, or partial state to test.
    L : rspace list
        Restrict space list (see restrict_space.rspace for details).

    Returns
    -------
    bool
        True if and only if state is in L.

    &#34;&#34;&#34;
    for clause in L:
        sat = False
        for p in clause:
            if sm_doi.fixed_implies_implicant(state,p):
                sat = T