>&quot;&quot;&quot;Checks type of SignalData and returns the value.</span>

<span class="sd">    Args:</span>
<span class="sd">        signal_data(SignalData): Signal data.</span>
<span class="sd">    Returns:</span>
<span class="sd">        The data value.</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="k">return</span> <span class="nb">getattr</span><span class="p">(</span><span class="n">signal_data</span><span class="o">.</span><span class="n">data</span><span class="p">,</span> <