><code><span class="r-in"><span class="fu">is_keyed_df</span><span class="op">(</span><span class="va">mtcars</span><span class="op">)</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span>
<span class="r-in"></span>
<span class="r-in"><span class="va">mtcars</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%&gt;%</a></span> <span class="fu"><a href="keys-set.html">key_by</a></span><span class="op">(</span><span class="