Laravel check if relation is empty : <p>I have an object with some relationships and I need to check if these relations are empty or not, I'm trying to check with is_null, isset, != undefined, etc but nothing works, here is the relationship I get when it's empty :</p>

<pre><code>object(Illuminate\Database\Eloquent\Collection)#197 (1) {
  ["items":protected]=&gt;
    array(0) {
  }
}
</code></pre>

<p>Is there a way to check this easily ?
Thanks.</p>
