>
<span class="sd">            media(Media/Uuid/Actor): Media reference.</span>

<span class="sd">        Kwargs:</span>
<span class="sd">            before_uuid(Uuid/Container): Insert media before this uuid.</span>

<span class="sd">        Returns:</span>
<span class="sd">            media(Media): Media object.</span>

<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">m